include/SDL_platform.h
changeset 1628 10b4827452a8
parent 1565 57431b199aed
child 1631 510b009a864c
equal deleted inserted replaced
1627:aee7ea396f59 1628:10b4827452a8
    62 #define __LINUX__	1
    62 #define __LINUX__	1
    63 #endif
    63 #endif
    64 #if defined(macintosh)
    64 #if defined(macintosh)
    65 #undef __MACOS__
    65 #undef __MACOS__
    66 #define __MACOS__	1
    66 #define __MACOS__	1
    67 #define TARGET_API_MAC_OS8	1
       
    68 #define TARGET_API_MAC_CARBON	0
       
    69 #define TARGET_API_MAC_OSX	0
       
    70 #endif
    67 #endif
    71 #if defined(__GNUC__) && (defined(__APPLE_CC__) || defined(__APPLE_CPP__))
    68 #if defined(__GNUC__) && (defined(__APPLE_CC__) || defined(__APPLE_CPP__))
    72 #undef __MACOSX__
    69 #undef __MACOSX__
    73 #define __MACOSX__	1
    70 #define __MACOSX__	1
    74 #define TARGET_API_MAC_OS8	0
       
    75 #define TARGET_API_MAC_CARBON	1
       
    76 #define TARGET_API_MAC_OSX	1
       
    77 #endif
    71 #endif
    78 #if defined(__NetBSD__)
    72 #if defined(__NetBSD__)
    79 #undef __NETBSD__
    73 #undef __NETBSD__
    80 #define __NETBSD__	1
    74 #define __NETBSD__	1
    81 #endif
    75 #endif