aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2016-08-19 14:28:36 +0200
committerSverker Eriksson <[email protected]>2016-08-19 14:28:36 +0200
commiteb97d076f5364ccabbdf3ceacdea381e3f9a3444 (patch)
treeb08119fdc0065319deaf08639817addec3d7c135
parent3b7a6ffddc819bf305353a593904cea9e932e7dc (diff)
downloadotp-eb97d076f5364ccabbdf3ceacdea381e3f9a3444.tar.gz
otp-eb97d076f5364ccabbdf3ceacdea381e3f9a3444.tar.bz2
otp-eb97d076f5364ccabbdf3ceacdea381e3f9a3444.zip
erl_interface: Fix faulty #if logic
-rw-r--r--lib/erl_interface/src/misc/ei_portio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/erl_interface/src/misc/ei_portio.h b/lib/erl_interface/src/misc/ei_portio.h
index fbb61b0ccf..bded811a35 100644
--- a/lib/erl_interface/src/misc/ei_portio.h
+++ b/lib/erl_interface/src/misc/ei_portio.h
@@ -21,7 +21,7 @@
*/
#ifndef _EI_PORTIO_H
#define _EI_PORTIO_H
-#if !defined(__WIN32__) || !defined(VXWORKS)
+#if !defined(__WIN32__) && !defined(VXWORKS)
#ifdef HAVE_WRITEV
/* Declaration of struct iovec *iov should be visible in this scope. */
#include <sys/uio.h>