qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH] Fixes missing __LITTLE_ENDIAN__, and MAC_OS_X_VERSI


From: G 3
Subject: [Qemu-devel] [PATCH] Fixes missing __LITTLE_ENDIAN__, and MAC_OS_X_VERSION_10_4 symbols on Mac OS 10.3.
Date: Mon, 13 Jul 2009 16:28:11 -0400

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

Signed-off-by: John Arbuckle <address@hidden>

---
 cocoa.m |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/cocoa.m b/cocoa.m
index b655dcc..3bf1a87 100644
--- a/cocoa.m
+++ b/cocoa.m
@@ -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

--
1.6.3.3





reply via email to

[Prev in Thread] Current Thread [Next in Thread]