include/SDL_platform.h
changeset 1802 54f63955dc1f
parent 1631 510b009a864c
child 2062 c9aa6bcb26f3
equal deleted inserted replaced
1801:e308d020d315 1802:54f63955dc1f
    59 #endif
    59 #endif
    60 #if defined(linux) || defined(__linux) || defined(__linux__)
    60 #if defined(linux) || defined(__linux) || defined(__linux__)
    61 #undef __LINUX__
    61 #undef __LINUX__
    62 #define __LINUX__	1
    62 #define __LINUX__	1
    63 #endif
    63 #endif
    64 #if defined(macintosh)
       
    65 #undef __MACOS__
       
    66 #define __MACOS__	1
       
    67 #endif
       
    68 #if defined(__APPLE__)
    64 #if defined(__APPLE__)
    69 #undef __MACOSX__
    65 #undef __MACOSX__
    70 #define __MACOSX__	1
    66 #define __MACOSX__	1
       
    67 #elif defined(macintosh)
       
    68 #undef __MACOS__
       
    69 #define __MACOS__	1
    71 #endif
    70 #endif
    72 #if defined(__NetBSD__)
    71 #if defined(__NetBSD__)
    73 #undef __NETBSD__
    72 #undef __NETBSD__
    74 #define __NETBSD__	1
    73 #define __NETBSD__	1
    75 #endif
    74 #endif