mirror of
https://github.com/kanjitalk755/macemu.git
synced 2025-01-12 01:30:03 +00:00
SOme 10.2 compile fixes
This commit is contained in:
parent
6a0f9df867
commit
c8218bbb11
@ -76,6 +76,12 @@ AC_PROG_CXX
|
||||
AC_PROG_MAKE_SET
|
||||
AC_PROG_INSTALL
|
||||
|
||||
dnl MacOSX (and later?) have a particular header for defining the OS version
|
||||
AC_CHECK_HEADER(AvailabilityMacros.h)
|
||||
if [[ "x$ac_cv_header_AvailabilityMacros_h" = "xyes" ]]; then
|
||||
DEFINES="$DEFINES -DAVAILABILITYMACROS"
|
||||
fi
|
||||
|
||||
dnl We use mon if possible.
|
||||
MONSRCS=
|
||||
if [[ "x$WANT_MON" = "xyes" ]]; then
|
||||
|
@ -62,7 +62,9 @@
|
||||
#endif
|
||||
|
||||
|
||||
#include <AvailabilityMacros.h>
|
||||
#ifdef AVAILABILITYMACROS
|
||||
# include <AvailabilityMacros.h>
|
||||
#endif
|
||||
|
||||
/* Emulator and host address space are distinct */
|
||||
#ifndef REAL_ADDRESSING
|
||||
@ -72,9 +74,10 @@
|
||||
/* Linear address translation (i.e. just an offset between Emulator & host) */
|
||||
#ifndef DIRECT_ADDRESSING
|
||||
# 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
|
||||
/* For some reason, compiling on 10.2 with DIRECT_ADDRESSING enabled gives an */
|
||||
/* app that never writes to its screen! (i.e. it never calls most of video.cpp) */
|
||||
# define DIRECT_ADDRESSING 1
|
||||
//# define DIRECT_ADDRESSING 0
|
||||
# else
|
||||
# define DIRECT_ADDRESSING 1
|
||||
# endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user