diff options
author | Lukas Larsson <[email protected]> | 2016-06-14 10:08:56 +0200 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2016-06-14 10:08:56 +0200 |
commit | 64515dcead288dacf4876eb0502c755f08427977 (patch) | |
tree | 266b5f2ca780c885d00efba6617e0145af0ab99e /lib/erl_interface/configure.in | |
parent | 2f3286f7eb10f7460e68cd268651e767e24048ef (diff) | |
parent | fafacbdb5c3b8852e29da51933b708bbc57e8a0b (diff) | |
download | otp-64515dcead288dacf4876eb0502c755f08427977.tar.gz otp-64515dcead288dacf4876eb0502c755f08427977.tar.bz2 otp-64515dcead288dacf4876eb0502c755f08427977.zip |
Merge branch 'lukas/erl_interface/fix_long_windows/OTP-13673'
* lukas/erl_interface/fix_long_windows/OTP-13673:
erl_interface: Fix trace level tracing on windows
erl_interface: Fix decode_ulong on windows
Diffstat (limited to 'lib/erl_interface/configure.in')
-rw-r--r-- | lib/erl_interface/configure.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/erl_interface/configure.in b/lib/erl_interface/configure.in index 9e52a2adcf..0a8fbf513c 100644 --- a/lib/erl_interface/configure.in +++ b/lib/erl_interface/configure.in @@ -100,7 +100,9 @@ AC_CHECK_SIZEOF(long) AC_CHECK_SIZEOF(void *) AC_CHECK_SIZEOF(long long) -if test $ac_cv_sizeof_void_p = 8; then +dnl We set EI_64BIT mode when long is 8 bytes, this makes things +dnl work on windows and unix correctly +if test $ac_cv_sizeof_long = 8; then CFLAGS="$CFLAGS -DEI_64BIT" fi |