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_MAKE_SET
|
||||||
AC_PROG_INSTALL
|
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.
|
dnl We use mon if possible.
|
||||||
MONSRCS=
|
MONSRCS=
|
||||||
if [[ "x$WANT_MON" = "xyes" ]]; then
|
if [[ "x$WANT_MON" = "xyes" ]]; then
|
||||||
|
@ -62,7 +62,9 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#include <AvailabilityMacros.h>
|
#ifdef AVAILABILITYMACROS
|
||||||
|
# include <AvailabilityMacros.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Emulator and host address space are distinct */
|
/* Emulator and host address space are distinct */
|
||||||
#ifndef REAL_ADDRESSING
|
#ifndef REAL_ADDRESSING
|
||||||
@ -72,9 +74,10 @@
|
|||||||
/* Linear address translation (i.e. just an offset between Emulator & host) */
|
/* Linear address translation (i.e. just an offset between Emulator & host) */
|
||||||
#ifndef DIRECT_ADDRESSING
|
#ifndef DIRECT_ADDRESSING
|
||||||
# ifdef MAC_OS_X_VERSION_10_2
|
# ifdef MAC_OS_X_VERSION_10_2
|
||||||
/* For some reason, compiling on 10.2 with DIRECT_ADDRESSING enabled */
|
/* For some reason, compiling on 10.2 with DIRECT_ADDRESSING enabled gives an */
|
||||||
/* gives an app that doesn't seem to me able to write to its screen! */
|
/* app that never writes to its screen! (i.e. it never calls most of video.cpp) */
|
||||||
# define DIRECT_ADDRESSING 0
|
# define DIRECT_ADDRESSING 1
|
||||||
|
//# define DIRECT_ADDRESSING 0
|
||||||
# else
|
# else
|
||||||
# define DIRECT_ADDRESSING 1
|
# define DIRECT_ADDRESSING 1
|
||||||
# endif
|
# endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user