Mercurial > sdl-ios-xcode
comparison include/begin_code.h @ 5062:e8916fe9cfc8
Fixed bug #925
Changed "win32" to "windows"
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Thu, 20 Jan 2011 18:04:05 -0800 |
parents | f7b03b6838cb |
children | c2539ff054c8 |
comparison
equal
deleted
inserted
replaced
5061:9e9940eae455 | 5062:e8916fe9cfc8 |
---|---|
40 # if defined(__GNUC__) | 40 # if defined(__GNUC__) |
41 # define DECLSPEC __declspec(dllexport) | 41 # define DECLSPEC __declspec(dllexport) |
42 # else | 42 # else |
43 # define DECLSPEC __declspec(export) | 43 # define DECLSPEC __declspec(export) |
44 # endif | 44 # endif |
45 # elif defined(__WIN32__) | 45 # elif defined(__WINDOWS__) |
46 # ifdef __BORLANDC__ | 46 # ifdef __BORLANDC__ |
47 # ifdef BUILD_SDL | 47 # ifdef BUILD_SDL |
48 # define DECLSPEC | 48 # define DECLSPEC |
49 # else | 49 # else |
50 # define DECLSPEC __declspec(dllimport) | 50 # define DECLSPEC __declspec(dllimport) |
61 # endif | 61 # endif |
62 #endif | 62 #endif |
63 | 63 |
64 /* By default SDL uses the C calling convention */ | 64 /* By default SDL uses the C calling convention */ |
65 #ifndef SDLCALL | 65 #ifndef SDLCALL |
66 #if defined(__WIN32__) && !defined(__GNUC__) | 66 #if defined(__WINDOWS__) && !defined(__GNUC__) |
67 #define SDLCALL __cdecl | 67 #define SDLCALL __cdecl |
68 #else | 68 #else |
69 #define SDLCALL | 69 #define SDLCALL |
70 #endif | 70 #endif |
71 #endif /* SDLCALL */ | 71 #endif /* SDLCALL */ |