Index: include/v8config.h |
diff --git a/include/v8config.h b/include/v8config.h |
index 46d2c3ce71ff43f827461e128f4e9001e3c704dd..fabf13b61a7e5d58b9db4f8e634d741f2d09e588 100644 |
--- a/include/v8config.h |
+++ b/include/v8config.h |
@@ -42,8 +42,8 @@ |
((__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) >= \ |
((major) * 10000 + (minor) * 100 + (patchlevel))) |
#elif defined(__GNUC__) && defined(__GNUC_MINOR__) |
-# define V8_GNUC_PREREQ(major, minor, patchlevel) \ |
- ((__GNUC__ * 10000 + __GNUC_MINOR__) >= \ |
+# define V8_GNUC_PREREQ(major, minor, patchlevel) \ |
+ ((__GNUC__ * 10000 + __GNUC_MINOR__ * 100) >= \ |
((major) * 10000 + (minor) * 100 + (patchlevel))) |
#else |
# define V8_GNUC_PREREQ(major, minor, patchlevel) 0 |