aboutsummaryrefslogtreecommitdiff
path: root/src/StormPort.h
diff options
context:
space:
mode:
authorLadislav Zezula <zezula@volny.cz>2020-06-29 16:30:36 +0200
committerLadislav Zezula <zezula@volny.cz>2020-06-29 16:30:36 +0200
commitefa7e50ef7d25bcbb15007deed9453b3002aa8aa (patch)
tree752df1c0e2650948aefdaafcfdd8b672005ca451 /src/StormPort.h
parent0c05d9196b55e65f5014dac66ec65be48cbe2453 (diff)
Fixed cdecl problem
Diffstat (limited to 'src/StormPort.h')
-rw-r--r--src/StormPort.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/StormPort.h b/src/StormPort.h
index 349dd20..c2bcf91 100644
--- a/src/StormPort.h
+++ b/src/StormPort.h
@@ -62,6 +62,8 @@
#define PLATFORM_32BIT
#endif
+ #define STORMLIB_CDECL __cdecl
+
#define PLATFORM_WINDOWS
#define PLATFORM_DEFINED // The platform is known now
@@ -161,6 +163,9 @@
#define PLATFORM_32BIT
#endif
+ // __cdecl meand nothing on non-Windows
+ #define STORMLIB_CDECL /* */
+
// Typedefs for ANSI C
typedef unsigned char BYTE;
typedef unsigned short USHORT;