include/begin_code.h
branchSDL-1.2
changeset 3975 e85e65aec22f
parent 3965 19d708301fab
child 4091 98b219f9ff17
     1.1 --- a/include/begin_code.h	Thu Jun 21 18:48:13 2007 +0000
     1.2 +++ b/include/begin_code.h	Sun Jun 24 18:26:35 2007 +0000
     1.3 @@ -83,11 +83,15 @@
     1.4  #endif
     1.5  #endif /* SDLCALL */
     1.6  
     1.7 -/* Removed DECLSPEC on Symbian OS because SDL cannot be a DLL in EPOC */
     1.8  #ifdef __SYMBIAN32__ 
     1.9 +#ifndef EKA2 
    1.10  #undef DECLSPEC
    1.11  #define DECLSPEC
    1.12 -#endif /* __SYMBIAN32__ */
    1.13 +#elif !defined(__WINS__)
    1.14 +#undef DECLSPEC
    1.15 +#define DECLSPEC __declspec(dllexport)
    1.16 +#endif //EKA2
    1.17 +#endif //__SYMBIAN32__
    1.18  
    1.19  /* Force structure packing at 4 byte alignment.
    1.20     This is necessary if the header is included in code which has structure
    1.21 @@ -116,7 +120,7 @@
    1.22  #if defined(_MSC_VER) || defined(__BORLANDC__) || \
    1.23      defined(__DMC__) || defined(__SC__) || \
    1.24      defined(__WATCOMC__) || defined(__LCC__) || \
    1.25 -    defined(__DECC)
    1.26 +    defined(__DECC) || defined(__EABI__)
    1.27  #ifndef __inline__
    1.28  #define __inline__	__inline
    1.29  #endif