diff options
author | Piotr Nosek <[email protected]> | 2014-05-08 12:04:14 +0200 |
---|---|---|
committer | Piotr Nosek <[email protected]> | 2014-05-08 12:04:14 +0200 |
commit | 64cb86b407cf7d0c0f7ac834dd93be6708ed89b1 (patch) | |
tree | 28d51ab78e96b474a392519e13ab5819febc10b8 /lib/erl_interface | |
parent | aca0b6182b039333b4c963938878d9eecc85e5a1 (diff) | |
download | otp-64cb86b407cf7d0c0f7ac834dd93be6708ed89b1.tar.gz otp-64cb86b407cf7d0c0f7ac834dd93be6708ed89b1.tar.bz2 otp-64cb86b407cf7d0c0f7ac834dd93be6708ed89b1.zip |
Add Visual Studio macros to erl_driver.h and ei.h
Diffstat (limited to 'lib/erl_interface')
-rw-r--r-- | lib/erl_interface/include/ei.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/erl_interface/include/ei.h b/lib/erl_interface/include/ei.h index a3eb437f88..3f3435977d 100644 --- a/lib/erl_interface/include/ei.h +++ b/lib/erl_interface/include/ei.h @@ -39,7 +39,7 @@ #include <stdio.h> /* Need type FILE */ #include <errno.h> /* Need EHOSTUNREACH, ENOMEM, ... */ -#if !defined(__WIN32__) && !defined(VXWORKS) || (defined(VXWORKS) && defined(HAVE_SENS)) +#if !(defined(__WIN32__) || defined(_WIN32)) && !defined(VXWORKS) || (defined(VXWORKS) && defined(HAVE_SENS)) # include <netdb.h> #endif |