Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(267)

Unified Diff: src/globals.h

Issue 21049004: Fix V8_GNUC_PREREQ macro. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/globals.h
diff --git a/src/globals.h b/src/globals.h
index 851fa47e16fe2c6cf8b7fc417494cf5f0d7d99d0..8f17a2edc87cda075071e4520e40b57df44f5417 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698