Permalink
Browse files

fix logic in ZMQ_CAN_DISCONNECT macro

  • Loading branch information...
1 parent 7dabf27 commit 6c694fd699114f01473ebfbe1ef00f6d660a90b6 @mscdex mscdex committed Mar 8, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 binding.cc
View
@@ -37,7 +37,7 @@
#define snprintf _snprintf_s
#endif
-#define ZMQ_CAN_DISCONNECT (ZMQ_VERSION_MAJOR == 3 and ZMQ_VERSION_MINOR >= 2) or ZMQ_VERSION_MAJOR > 3
+#define ZMQ_CAN_DISCONNECT (ZMQ_VERSION_MAJOR == 3 && ZMQ_VERSION_MINOR >= 2) || ZMQ_VERSION_MAJOR > 3
using namespace v8;
using namespace node;

0 comments on commit 6c694fd

Please sign in to comment.