include/SDL_platform.h
changeset 7191 75360622e65f
parent 7012 504651b7d8df
child 7498 bda3639deecc
     1.1 --- a/include/SDL_platform.h	Sat May 18 12:48:50 2013 -0700
     1.2 +++ b/include/SDL_platform.h	Sat May 18 14:17:52 2013 -0700
     1.3 @@ -21,7 +21,7 @@
     1.4  
     1.5  /**
     1.6   *  \file SDL_platform.h
     1.7 - *  
     1.8 + *
     1.9   *  Try to get a standard set of platform defines.
    1.10   */
    1.11  
    1.12 @@ -30,39 +30,39 @@
    1.13  
    1.14  #if defined(_AIX)
    1.15  #undef __AIX__
    1.16 -#define __AIX__		1
    1.17 +#define __AIX__     1
    1.18  #endif
    1.19  #if defined(__BEOS__)
    1.20  #undef __BEOS__
    1.21 -#define __BEOS__	1
    1.22 +#define __BEOS__    1
    1.23  #endif
    1.24  #if defined(__HAIKU__)
    1.25  #undef __HAIKU__
    1.26 -#define __HAIKU__	1
    1.27 +#define __HAIKU__   1
    1.28  #endif
    1.29  #if defined(bsdi) || defined(__bsdi) || defined(__bsdi__)
    1.30  #undef __BSDI__
    1.31 -#define __BSDI__	1
    1.32 +#define __BSDI__    1
    1.33  #endif
    1.34  #if defined(_arch_dreamcast)
    1.35  #undef __DREAMCAST__
    1.36 -#define __DREAMCAST__	1
    1.37 +#define __DREAMCAST__   1
    1.38  #endif
    1.39  #if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__DragonFly__)
    1.40  #undef __FREEBSD__
    1.41 -#define __FREEBSD__	1
    1.42 +#define __FREEBSD__ 1
    1.43  #endif
    1.44  #if defined(hpux) || defined(__hpux) || defined(__hpux__)
    1.45  #undef __HPUX__
    1.46 -#define __HPUX__	1
    1.47 +#define __HPUX__    1
    1.48  #endif
    1.49  #if defined(sgi) || defined(__sgi) || defined(__sgi__) || defined(_SGI_SOURCE)
    1.50  #undef __IRIX__
    1.51 -#define __IRIX__	1
    1.52 +#define __IRIX__    1
    1.53  #endif
    1.54  #if defined(linux) || defined(__linux) || defined(__linux__)
    1.55  #undef __LINUX__
    1.56 -#define __LINUX__	1
    1.57 +#define __LINUX__   1
    1.58  #endif
    1.59  #if defined(ANDROID)
    1.60  #undef __ANDROID__
    1.61 @@ -82,53 +82,51 @@
    1.62  #else
    1.63  /* if not compiling for iPhone */
    1.64  #undef __MACOSX__
    1.65 -#define __MACOSX__	1
    1.66 +#define __MACOSX__  1
    1.67  #endif /* TARGET_OS_IPHONE */
    1.68  #endif /* defined(__APPLE__) */
    1.69  
    1.70  #if defined(__NetBSD__)
    1.71  #undef __NETBSD__
    1.72 -#define __NETBSD__	1
    1.73 +#define __NETBSD__  1
    1.74  #endif
    1.75  #if defined(__OpenBSD__)
    1.76  #undef __OPENBSD__
    1.77 -#define __OPENBSD__	1
    1.78 +#define __OPENBSD__ 1
    1.79  #endif
    1.80  #if defined(__OS2__)
    1.81  #undef __OS2__
    1.82 -#define __OS2__		1
    1.83 +#define __OS2__     1
    1.84  #endif
    1.85  #if defined(osf) || defined(__osf) || defined(__osf__) || defined(_OSF_SOURCE)
    1.86  #undef __OSF__
    1.87 -#define __OSF__		1
    1.88 +#define __OSF__     1
    1.89  #endif
    1.90  #if defined(__QNXNTO__)
    1.91  #undef __QNXNTO__
    1.92 -#define __QNXNTO__	1
    1.93 +#define __QNXNTO__  1
    1.94  #endif
    1.95  #if defined(riscos) || defined(__riscos) || defined(__riscos__)
    1.96  #undef __RISCOS__
    1.97 -#define __RISCOS__	1
    1.98 +#define __RISCOS__  1
    1.99  #endif
   1.100  #if defined(__SVR4)
   1.101  #undef __SOLARIS__
   1.102 -#define __SOLARIS__	1
   1.103 +#define __SOLARIS__ 1
   1.104  #endif
   1.105  #if defined(WIN32) || defined(_WIN32)
   1.106  #undef __WIN32__
   1.107 -#define __WIN32__	1
   1.108 +#define __WIN32__   1
   1.109  #endif
   1.110  #if defined(__PSP__)
   1.111  #undef __PSP__
   1.112 -#define __PSP__	1
   1.113 +#define __PSP__ 1
   1.114  #endif
   1.115  
   1.116  #include "begin_code.h"
   1.117  /* Set up for C function definitions, even when using C++ */
   1.118  #ifdef __cplusplus
   1.119 -/* *INDENT-OFF* */
   1.120  extern "C" {
   1.121 -/* *INDENT-ON* */
   1.122  #endif
   1.123  
   1.124  /**
   1.125 @@ -138,9 +136,7 @@
   1.126  
   1.127  /* Ends C function definitions when using C++ */
   1.128  #ifdef __cplusplus
   1.129 -/* *INDENT-OFF* */
   1.130  }
   1.131 -/* *INDENT-ON* */
   1.132  #endif
   1.133  #include "close_code.h"
   1.134