summaryrefslogtreecommitdiffstats
path: root/src/core/common.h
diff options
context:
space:
mode:
authorerorcun <erorcunerorcun@hotmail.com.tr>2020-12-27 03:23:37 +0100
committererorcun <erorcunerorcun@hotmail.com.tr>2020-12-27 03:23:37 +0100
commit36e64dbd22a7e5ec6fc33a5087ed9788f1874f84 (patch)
tree390b86b4bf74c2de93d74e854ece1487040e3469 /src/core/common.h
parentfix a struct init (diff)
downloadre3-36e64dbd22a7e5ec6fc33a5087ed9788f1874f84.tar
re3-36e64dbd22a7e5ec6fc33a5087ed9788f1874f84.tar.gz
re3-36e64dbd22a7e5ec6fc33a5087ed9788f1874f84.tar.bz2
re3-36e64dbd22a7e5ec6fc33a5087ed9788f1874f84.tar.lz
re3-36e64dbd22a7e5ec6fc33a5087ed9788f1874f84.tar.xz
re3-36e64dbd22a7e5ec6fc33a5087ed9788f1874f84.tar.zst
re3-36e64dbd22a7e5ec6fc33a5087ed9788f1874f84.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 ffae30bf..50002ab5 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