diff include/begin_code.h @ 173:83018110dce8

Added initial support for EPOC/Symbian OS (thanks Hannu!)
author Sam Lantinga <slouken@libsdl.org>
date Tue, 11 Sep 2001 20:38:49 +0000
parents 60c7960354e0
children 94645dc9479b
line wrap: on
line diff
--- a/include/begin_code.h	Tue Sep 11 19:00:18 2001 +0000
+++ b/include/begin_code.h	Tue Sep 11 20:38:49 2001 +0000
@@ -48,6 +48,12 @@
 # endif
 #endif
 
+/* Removed DECLSPEC on Symbian OS because SDL cannot be a DLL in EPOC */
+#ifdef __SYMBIAN32__ 
+#undef DECLSPEC
+#define DECLSPEC
+#endif // __SYMBIAN32__
+
 /* Force structure packing at 4 byte alignment.
    This is necessary if the header is included in code which has structure
    packing set to an alternate value, say for loading structures from disk.