summaryrefslogtreecommitdiffstats
path: root/src/core/common.h
diff options
context:
space:
mode:
authorerorcun <erorcunerorcun@hotmail.com.tr>2020-12-21 21:26:32 +0100
committererorcun <erorcunerorcun@hotmail.com.tr>2020-12-25 10:54:41 +0100
commita50244dc16085a49f4949cf75f6220320480cebd (patch)
tree34a022c699eed9c8651ddbe8391c985753e46b2b /src/core/common.h
parentMerge branch 'miami' of github.com:GTAmodding/re3 into miami (diff)
downloadre3-a50244dc16085a49f4949cf75f6220320480cebd.tar
re3-a50244dc16085a49f4949cf75f6220320480cebd.tar.gz
re3-a50244dc16085a49f4949cf75f6220320480cebd.tar.bz2
re3-a50244dc16085a49f4949cf75f6220320480cebd.tar.lz
re3-a50244dc16085a49f4949cf75f6220320480cebd.tar.xz
re3-a50244dc16085a49f4949cf75f6220320480cebd.tar.zst
re3-a50244dc16085a49f4949cf75f6220320480cebd.zip
Diffstat (limited to 'src/core/common.h')
-rw-r--r--src/core/common.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/common.h b/src/core/common.h
index 882e2fae..155b5dba 100644
--- a/src/core/common.h
+++ b/src/core/common.h
@@ -73,11 +73,16 @@ typedef int16_t int16;
typedef uint32_t uint32;
typedef int32_t int32;
typedef uintptr_t uintptr;
+typedef intptr_t intptr;
typedef uint64_t uint64;
typedef int64_t int64;
// hardcode ucs-2
typedef uint16_t wchar;
+#if defined(_MSC_VER)
+typedef ptrdiff_t ssize_t;
+#endif
+
#ifndef nil
#define nil NULL
#endif