Mercurial > sdl-ios-xcode
comparison include/SDL_endian.h @ 1369:42eeb14770e3
Doh! Bitten by search and replace. :)
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sat, 18 Feb 2006 07:05:18 +0000 |
parents | 533567cbb576 |
children | 3e171fa5f4df |
comparison
equal
deleted
inserted
replaced
1368:533567cbb576 | 1369:42eeb14770e3 |
---|---|
50 /* Set up for C function definitions, even when using C++ */ | 50 /* Set up for C function definitions, even when using C++ */ |
51 #ifdef __cplusplus | 51 #ifdef __cplusplus |
52 extern "C" { | 52 extern "C" { |
53 #endif | 53 #endif |
54 | 54 |
55 /* Use __inline__ functions for compilers that support them, and static | 55 /* Use inline functions for compilers that support them, and static |
56 functions for those that do not. Because these functions become | 56 functions for those that do not. Because these functions become |
57 static for compilers that do not support __inline__ functions, this | 57 static for compilers that do not support inline functions, this |
58 header should only be included in files that actually use them. | 58 header should only be included in files that actually use them. |
59 */ | 59 */ |
60 #if defined(__GNUC__) && defined(__i386__) && | 60 #if defined(__GNUC__) && defined(__i386__) && |
61 !(__GNUC__ == 2 && __GNUC_MINOR__ == 95 /* broken gcc version */) | 61 !(__GNUC__ == 2 && __GNUC_MINOR__ == 95 /* broken gcc version */) |
62 static __inline__ Uint16 SDL_Swap16(Uint16 x) | 62 static __inline__ Uint16 SDL_Swap16(Uint16 x) |