Skip to contentSkip to conversation

Fixes missing __LITTLE_ENDIAN__, and MAC_OS_X_VERSION_10_4 symbols on Mac OS 10.3.

PATCH New G 3 1 participant 1 message Jul 13, 2009

lore
Share & tools
lore

G 3

author
#0 lore raw

PATCH 1/1 Fixes missing __LITTLE_ENDIAN__, and MAC_OS_X_VERSION_10_4 symbols on Mac OS 10.3.

This patch fixes the missing symbols issue on Mac OS 10.3 for the file Cocoa.m.

---
 cocoa.m |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)
cocoa.m +7 -0
index b655dcc..3bf1a87 100644
@@ -28,6 +28,13 @@
 #include "console.h"
 #include "sysemu.h"
 
+#ifndef MAC_OS_X_VERSION_10_4
+#define MAC_OS_X_VERSION_10_4 1040
+#endif
+
+#ifndef __LITTLE_ENDIAN__
+#define __LITTLE_ENDIAN__ 0  /* assume PowerPC*/
+#endif
 
 //#define DEBUG
 
Signature · 1 line
1.6.3.3