Fixes for compiling on 10.2

This commit is contained in:
nigel 2002-10-29 14:28:52 +00:00
parent c68df84838
commit 6a0f9df867

View File

@ -62,14 +62,22 @@
#endif
#include <AvailabilityMacros.h>
/* Emulator and host address space are distinct */
#ifndef REAL_ADDRESSING
#define REAL_ADDRESSING 0
# define REAL_ADDRESSING 0
#endif
/* Linear address translation (i.e. just an offset between Emulator & host) */
#ifndef DIRECT_ADDRESSING
#define DIRECT_ADDRESSING 1
# ifdef MAC_OS_X_VERSION_10_2
/* For some reason, compiling on 10.2 with DIRECT_ADDRESSING enabled */
/* gives an app that doesn't seem to me able to write to its screen! */
# define DIRECT_ADDRESSING 0
# else
# define DIRECT_ADDRESSING 1
# endif
#endif
/* Using 68k emulator */