Fix V8_GNUC_PREREQ macro.
authorbmeurer@chromium.org <bmeurer@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 29 Jul 2013 09:56:34 +0000 (09:56 +0000)
committerbmeurer@chromium.org <bmeurer@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 29 Jul 2013 09:56:34 +0000 (09:56 +0000)
TBR=svenpanne@chromium.org

Review URL: https://codereview.chromium.org/21049004

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@15926 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

src/globals.h

index 851fa47e16fe2c6cf8b7fc417494cf5f0d7d99d0..8f17a2edc87cda075071e4520e40b57df44f5417 100644 (file)
 #elif defined(__GNUC__)
 # define V8_CC_GNU 1
 # define V8_GNUC_PREREQ(major, minor) \
-    ((major) > __GNUC__ || ((major) == __GNUC__ && (minor) >= __GNUC_MINOR__))
+    (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >=  (minor)))
 # if defined(__MINGW64__)
 #  define V8_CC_MINGW 1
 #  define V8_CC_MINGW64 1