test/testplatform.c
changeset 3319 63d4517fc4ac
parent 3312 c91cb3f0204e
child 3579 3427271a2d75
     1.1 --- a/test/testplatform.c	Sat Sep 26 10:22:35 2009 +0000
     1.2 +++ b/test/testplatform.c	Sat Sep 26 10:32:14 2009 +0000
     1.3 @@ -157,58 +157,7 @@
     1.4          verbose = SDL_FALSE;
     1.5      }
     1.6      if (verbose) {
     1.7 -        printf("This system is running %s\n",
     1.8 -#if __AIX__
     1.9 -               "AIX"
    1.10 -#elif __HAIKU__
    1.11 -/* Haiku must appear here before BeOS, since it also defines __BEOS__ */
    1.12 -               "Haiku"
    1.13 -#elif __BEOS__
    1.14 -               "BeOS"
    1.15 -#elif __BSDI__
    1.16 -               "BSDI"
    1.17 -#elif __DREAMCAST__
    1.18 -               "Dreamcast"
    1.19 -#elif __FREEBSD__
    1.20 -               "FreeBSD"
    1.21 -#elif __HPUX__
    1.22 -               "HP-UX"
    1.23 -#elif __IRIX__
    1.24 -               "Irix"
    1.25 -#elif __LINUX__
    1.26 -               "Linux"
    1.27 -#elif __MINT__
    1.28 -               "Atari MiNT"
    1.29 -#elif __MACOS__
    1.30 -               "MacOS Classic"
    1.31 -#elif __MACOSX__
    1.32 -               "Mac OS X"
    1.33 -#elif __NETBSD__
    1.34 -               "NetBSD"
    1.35 -#elif __OPENBSD__
    1.36 -               "OpenBSD"
    1.37 -#elif __OS2__
    1.38 -               "OS/2"
    1.39 -#elif __OSF__
    1.40 -               "OSF/1"
    1.41 -#elif __QNXNTO__
    1.42 -               "QNX Neutrino"
    1.43 -#elif __RISCOS__
    1.44 -               "RISC OS"
    1.45 -#elif __SOLARIS__
    1.46 -               "Solaris"
    1.47 -#elif __WIN32__
    1.48 -#ifdef _WIN32_WCE
    1.49 -               "Windows CE"
    1.50 -#else
    1.51 -               "Windows"
    1.52 -#endif
    1.53 -#elif __IPHONEOS__
    1.54 -               "iPhone OS"
    1.55 -#else
    1.56 -               "an unknown operating system! (see SDL_platform.h)"
    1.57 -#endif
    1.58 -            );
    1.59 +        printf("This system is running %s\n", SDL_GetPlatform());
    1.60      }
    1.61  
    1.62      status += TestTypes(verbose);