Mercurial > sdl-ios-xcode
comparison include/begin_code.h @ 4891:0d4756e57224 SDL-1.2
This patch fixes a dllexport directive warning on Haiku
Scott McCreary
HaikuPorts
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 19 Sep 2010 08:56:53 -0700 |
parents | 4c4113c2162c |
children |
comparison
equal
deleted
inserted
replaced
4888:46fb637777ed | 4891:0d4756e57224 |
---|---|
41 * Some compilers use a special export keyword | 41 * Some compilers use a special export keyword |
42 */ | 42 */ |
43 #ifndef DECLSPEC | 43 #ifndef DECLSPEC |
44 # if defined(__BEOS__) || defined(__HAIKU__) | 44 # if defined(__BEOS__) || defined(__HAIKU__) |
45 # if defined(__GNUC__) | 45 # if defined(__GNUC__) |
46 # define DECLSPEC __declspec(dllexport) | 46 # define DECLSPEC |
47 # else | 47 # else |
48 # define DECLSPEC __declspec(export) | 48 # define DECLSPEC __declspec(export) |
49 # endif | 49 # endif |
50 # elif defined(__WIN32__) | 50 # elif defined(__WIN32__) |
51 # ifdef __BORLANDC__ | 51 # ifdef __BORLANDC__ |