Browse Source

Add parenthesis to NODE_VERSION_AT_LEAST

v0.7.4-release
Sam Shull 15 years ago
committed by Ryan Dahl
parent
commit
8acea2693d
  1. 2
      src/node_version.h

2
src/node_version.h

@ -21,7 +21,7 @@
#define NODE_VERSION_AT_LEAST(major, minor, patch) \ #define NODE_VERSION_AT_LEAST(major, minor, patch) \
(( (major) < NODE_MAJOR_VERSION \ (( (major) < NODE_MAJOR_VERSION) \
|| ((major) == NODE_MAJOR_VERSION && (minor) < NODE_MINOR_VERSION) \ || ((major) == NODE_MAJOR_VERSION && (minor) < NODE_MINOR_VERSION) \
|| ((major) == NODE_MAJOR_VERSION && (minor) == NODE_MINOR_VERSION && (patch) <= NODE_PATCH_VERSION)) || ((major) == NODE_MAJOR_VERSION && (minor) == NODE_MINOR_VERSION && (patch) <= NODE_PATCH_VERSION))

Loading…
Cancel
Save