Mercurial > sdl-ios-xcode
comparison include/begin_code.h @ 3975:e85e65aec22f SDL-1.2
Added S60 port.
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Sun, 24 Jun 2007 18:26:35 +0000 |
parents | 19d708301fab |
children | 98b219f9ff17 |
comparison
equal
deleted
inserted
replaced
3974:42578e98a295 | 3975:e85e65aec22f |
---|---|
81 #define SDLCALL | 81 #define SDLCALL |
82 #endif | 82 #endif |
83 #endif | 83 #endif |
84 #endif /* SDLCALL */ | 84 #endif /* SDLCALL */ |
85 | 85 |
86 /* Removed DECLSPEC on Symbian OS because SDL cannot be a DLL in EPOC */ | |
87 #ifdef __SYMBIAN32__ | 86 #ifdef __SYMBIAN32__ |
87 #ifndef EKA2 | |
88 #undef DECLSPEC | 88 #undef DECLSPEC |
89 #define DECLSPEC | 89 #define DECLSPEC |
90 #endif /* __SYMBIAN32__ */ | 90 #elif !defined(__WINS__) |
91 #undef DECLSPEC | |
92 #define DECLSPEC __declspec(dllexport) | |
93 #endif //EKA2 | |
94 #endif //__SYMBIAN32__ | |
91 | 95 |
92 /* Force structure packing at 4 byte alignment. | 96 /* Force structure packing at 4 byte alignment. |
93 This is necessary if the header is included in code which has structure | 97 This is necessary if the header is included in code which has structure |
94 packing set to an alternate value, say for loading structures from disk. | 98 packing set to an alternate value, say for loading structures from disk. |
95 The packing is reset to the previous value in close_code.h | 99 The packing is reset to the previous value in close_code.h |
114 #else | 118 #else |
115 /* Add any special compiler-specific cases here */ | 119 /* Add any special compiler-specific cases here */ |
116 #if defined(_MSC_VER) || defined(__BORLANDC__) || \ | 120 #if defined(_MSC_VER) || defined(__BORLANDC__) || \ |
117 defined(__DMC__) || defined(__SC__) || \ | 121 defined(__DMC__) || defined(__SC__) || \ |
118 defined(__WATCOMC__) || defined(__LCC__) || \ | 122 defined(__WATCOMC__) || defined(__LCC__) || \ |
119 defined(__DECC) | 123 defined(__DECC) || defined(__EABI__) |
120 #ifndef __inline__ | 124 #ifndef __inline__ |
121 #define __inline__ __inline | 125 #define __inline__ __inline |
122 #endif | 126 #endif |
123 #define SDL_INLINE_OKAY | 127 #define SDL_INLINE_OKAY |
124 #else | 128 #else |