Permalink
Browse files

Merge pull request #188 from mscdex/fix-macro

fix logic in ZMQ_CAN_DISCONNECT macro
  • Loading branch information...
2 parents 7dabf27 + 6c694fd commit a9937d1c792071ac3f083e9b5b73d9aece0a369d @ronkorving ronkorving 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 a9937d1

Please sign in to comment.