From ac5e3e080c43e18fcf1556695a3e35d15752acd1 Mon Sep 17 00:00:00 2001 From: "bmeurer@chromium.org" Date: Mon, 29 Jul 2013 09:56:34 +0000 Subject: [PATCH] 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 --- src/globals.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.34.1