diff options
author | Aki <please@ignore.pl> | 2024-02-17 00:49:15 +0100 |
---|---|---|
committer | Aki <please@ignore.pl> | 2024-02-17 00:49:15 +0100 |
commit | ebbb8b46e21dc98d4d8dc9e208689fbebfcd275b (patch) | |
tree | c1f89ba34b8deca19105461b20d971546d87de95 /contrib/Opcode/Ice/IcePreprocessor.h | |
parent | 4f25bc561a191b16c29e23349526e3627e5b91be (diff) | |
download | starshatter-ebbb8b46e21dc98d4d8dc9e208689fbebfcd275b.zip starshatter-ebbb8b46e21dc98d4d8dc9e208689fbebfcd275b.tar.gz starshatter-ebbb8b46e21dc98d4d8dc9e208689fbebfcd275b.tar.bz2 |
Opcode and ICE now compile under 32 bit Linux
Diffstat (limited to 'contrib/Opcode/Ice/IcePreprocessor.h')
-rw-r--r-- | contrib/Opcode/Ice/IcePreprocessor.h | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/contrib/Opcode/Ice/IcePreprocessor.h b/contrib/Opcode/Ice/IcePreprocessor.h index 0aaf8f1..d4ca850 100644 --- a/contrib/Opcode/Ice/IcePreprocessor.h +++ b/contrib/Opcode/Ice/IcePreprocessor.h @@ -64,14 +64,18 @@ #define THIS_FILE __FILE__ #endif - #ifndef ICE_NO_DLL - #ifdef ICECORE_EXPORTS - #define ICECORE_API __declspec(dllexport) + #ifdef WIN32 + #ifndef ICE_NO_DLL + #ifdef ICECORE_EXPORTS + #define ICECORE_API __declspec(dllexport) + #else + #define ICECORE_API __declspec(dllimport) + #endif #else - #define ICECORE_API __declspec(dllimport) + #define ICECORE_API #endif #else - #define ICECORE_API + #define ICECORE_API #endif // Don't override new/delete |