aboutsummaryrefslogtreecommitdiffstats
path: root/erts
diff options
context:
space:
mode:
authorPatrik Nyblom <[email protected]>2010-08-11 12:06:12 +0200
committerPatrik Nyblom <[email protected]>2010-08-11 12:06:12 +0200
commit88def63e43ca7f9f3914b7e7c58dc50282c00f53 (patch)
tree4b90ba9df8de62d67057addf8112a241f5d42cf2 /erts
parent0045a2ef8ea300eb2dee2b3aaadc6b5f08f5d4c4 (diff)
downloadotp-88def63e43ca7f9f3914b7e7c58dc50282c00f53.tar.gz
otp-88def63e43ca7f9f3914b7e7c58dc50282c00f53.tar.bz2
otp-88def63e43ca7f9f3914b7e7c58dc50282c00f53.zip
Make windows 64bit types be declared more consistently
Diffstat (limited to 'erts')
-rw-r--r--erts/emulator/beam/erl_nif.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_nif.h b/erts/emulator/beam/erl_nif.h
index 533c92cb28..ee3a7cd5f4 100644
--- a/erts/emulator/beam/erl_nif.h
+++ b/erts/emulator/beam/erl_nif.h
@@ -66,7 +66,7 @@
extern "C" {
#endif
-#if defined(__WIN32__)
+#if (defined(__WIN32__) || defined(_WIN32) || defined(_WIN32_))
typedef unsigned __int64 ErlNifUInt64;
typedef __int64 ErlNifSInt64;
#elif SIZEOF_LONG == 8