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. 6
      src/node_version.h

6
src/node_version.h

@ -21,8 +21,8 @@
#define NODE_VERSION_AT_LEAST(major, minor, patch) \
(( (major) < NODE_MAJOR_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) \
|| ((major) == NODE_MAJOR_VERSION && (minor) < NODE_MINOR_VERSION) \
|| ((major) == NODE_MAJOR_VERSION && (minor) == NODE_MINOR_VERSION && (patch) <= NODE_PATCH_VERSION))
#endif /* NODE_VERSION_H */

Loading…
Cancel
Save