Created
July 20, 2010 18:22
-
-
Save samshull/483331 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From b26787bc203f0318161d014baea93894ca881244 Mon Sep 17 00:00:00 2001 | |
From: Sam Shull <[email protected]> | |
Date: Tue, 20 Jul 2010 14:09:09 -0400 | |
Subject: [PATCH] Add parenthesis to NODE_VERSION_AT_LEAST | |
--- | |
src/node_version.h | 2 +- | |
1 files changed, 1 insertions(+), 1 deletions(-) | |
diff --git a/src/node_version.h b/src/node_version.h | |
index 8aa03b4..c334f49 100644 | |
--- a/src/node_version.h | |
+++ b/src/node_version.h | |
@@ -21,7 +21,7 @@ | |
#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 && (patch) <= NODE_PATCH_VERSION)) | |
-- | |
1.6.5.1.1367.gcd48 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment