summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2011-11-15 08:40:46 +0100
committerMartin Sustrik <sustrik@250bpm.com>2011-11-15 08:40:46 +0100
commit83975c1b21722bb689c7b84cde5a6958145fcbd4 (patch)
tree1109e2c40ba555fa4af72596f72310ffff3b7459 /src
parent21bca4dbe48cffdaa1e1108600973559a3b880d2 (diff)
Missing "defined" tokens added
The missing tokens broke the build if you used -Werror -Wundef Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'src')
-rw-r--r--src/tcp_address.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tcp_address.cpp b/src/tcp_address.cpp
index dece827..de6e0ad 100644
--- a/src/tcp_address.cpp
+++ b/src/tcp_address.cpp
@@ -110,7 +110,7 @@ int zmq::tcp_address_t::resolve_nic_name (const char *nic_, bool ipv4only_)
return 0;
}
-#elif defined ZMQ_HAVE_AIX || ZMQ_HAVE_HPUX || ZMQ_HAVE_ANDROID
+#elif defined ZMQ_HAVE_AIX || defined ZMQ_HAVE_HPUX || defined ZMQ_HAVE_ANDROID
#include <sys/types.h>
#include <unistd.h>