aboutsummaryrefslogtreecommitdiffstats
path: root/erts
diff options
context:
space:
mode:
authorPiotr Nosek <[email protected]>2014-05-08 12:04:14 +0200
committerPiotr Nosek <[email protected]>2014-05-08 12:04:14 +0200
commit64cb86b407cf7d0c0f7ac834dd93be6708ed89b1 (patch)
tree28d51ab78e96b474a392519e13ab5819febc10b8 /erts
parentaca0b6182b039333b4c963938878d9eecc85e5a1 (diff)
downloadotp-64cb86b407cf7d0c0f7ac834dd93be6708ed89b1.tar.gz
otp-64cb86b407cf7d0c0f7ac834dd93be6708ed89b1.tar.bz2
otp-64cb86b407cf7d0c0f7ac834dd93be6708ed89b1.zip
Add Visual Studio macros to erl_driver.h and ei.h
Diffstat (limited to 'erts')
-rw-r--r--erts/emulator/beam/erl_driver.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_driver.h b/erts/emulator/beam/erl_driver.h
index 3ecb379326..5ced8c5ca0 100644
--- a/erts/emulator/beam/erl_driver.h
+++ b/erts/emulator/beam/erl_driver.h
@@ -198,7 +198,7 @@ typedef long long ErlDrvSInt64;
#error No 64-bit integer type
#endif
-#if defined(__WIN32__)
+#if defined(__WIN32__) || defined(_WIN32)
typedef ErlDrvUInt ErlDrvSizeT;
typedef ErlDrvSInt ErlDrvSSizeT;
#else