Permalink
Browse files

Missing "defined" tokens added

The missing tokens broke the build if you used -Werror -Wundef

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
  • Loading branch information...
sustrik committed Nov 15, 2011
1 parent 21bca4d commit 83975c1b21722bb689c7b84cde5a6958145fcbd4
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/tcp_address.cpp
View
@@ -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>

0 comments on commit 83975c1

Please sign in to comment.