Mercurial > sdl-ios-xcode
diff test/testplatform.c @ 3319:63d4517fc4ac
Fixed bug #777
Implemented SDL_GetPlatform()
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sat, 26 Sep 2009 10:32:14 +0000 |
parents | c91cb3f0204e |
children | 3427271a2d75 |
line wrap: on
line diff
--- a/test/testplatform.c Sat Sep 26 10:22:35 2009 +0000 +++ b/test/testplatform.c Sat Sep 26 10:32:14 2009 +0000 @@ -157,58 +157,7 @@ verbose = SDL_FALSE; } if (verbose) { - printf("This system is running %s\n", -#if __AIX__ - "AIX" -#elif __HAIKU__ -/* Haiku must appear here before BeOS, since it also defines __BEOS__ */ - "Haiku" -#elif __BEOS__ - "BeOS" -#elif __BSDI__ - "BSDI" -#elif __DREAMCAST__ - "Dreamcast" -#elif __FREEBSD__ - "FreeBSD" -#elif __HPUX__ - "HP-UX" -#elif __IRIX__ - "Irix" -#elif __LINUX__ - "Linux" -#elif __MINT__ - "Atari MiNT" -#elif __MACOS__ - "MacOS Classic" -#elif __MACOSX__ - "Mac OS X" -#elif __NETBSD__ - "NetBSD" -#elif __OPENBSD__ - "OpenBSD" -#elif __OS2__ - "OS/2" -#elif __OSF__ - "OSF/1" -#elif __QNXNTO__ - "QNX Neutrino" -#elif __RISCOS__ - "RISC OS" -#elif __SOLARIS__ - "Solaris" -#elif __WIN32__ -#ifdef _WIN32_WCE - "Windows CE" -#else - "Windows" -#endif -#elif __IPHONEOS__ - "iPhone OS" -#else - "an unknown operating system! (see SDL_platform.h)" -#endif - ); + printf("This system is running %s\n", SDL_GetPlatform()); } status += TestTypes(verbose);