From: bmeurer@chromium.org Date: Mon, 29 Jul 2013 09:56:34 +0000 (+0000) Subject: Fix V8_GNUC_PREREQ macro. X-Git-Tag: upstream/4.7.83~13168 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ac5e3e080c43e18fcf1556695a3e35d15752acd1;p=platform%2Fupstream%2Fv8.git Fix V8_GNUC_PREREQ macro. 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 --- diff --git a/src/globals.h b/src/globals.h index 851fa47e1..8f17a2edc 100644 --- a/src/globals.h +++ b/src/globals.h @@ -105,7 +105,7 @@ #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