diff options
author | Thiago Macieira <thiago.macieira@nokia.com> | 2009-10-23 08:02:13 (GMT) |
---|---|---|
committer | Thiago Macieira <thiago.macieira@nokia.com> | 2009-10-23 09:38:31 (GMT) |
commit | 0f6909e8e1be93d16798d31f18c4da2b0b5a084c (patch) | |
tree | e3ab3aa48c434c8b294cbdcdb220bfd1383ee772 /src/corelib | |
parent | 4ce556b952545494a8adb96f628c219a38406562 (diff) | |
download | Qt-0f6909e8e1be93d16798d31f18c4da2b0b5a084c.zip Qt-0f6909e8e1be93d16798d31f18c4da2b0b5a084c.tar.gz Qt-0f6909e8e1be93d16798d31f18c4da2b0b5a084c.tar.bz2 |
Fix bad check for GCC version.
These macros are available since GCC 2.95.
Reviewed-by: Olivier Goffart
Diffstat (limited to 'src/corelib')
-rw-r--r-- | src/corelib/global/qglobal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/global/qglobal.h b/src/corelib/global/qglobal.h index df17546..5ee1815 100644 --- a/src/corelib/global/qglobal.h +++ b/src/corelib/global/qglobal.h @@ -466,7 +466,7 @@ namespace QT_NAMESPACE {} # define Q_NO_USING_KEYWORD # define QT_NO_STL_WCHAR # endif -# if __GNUC__ >= 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95) +# if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95) # define Q_ALIGNOF(type) __alignof__(type) # define Q_TYPEOF(expr) __typeof__(expr) # define Q_DECL_ALIGN(n) __attribute__((__aligned__(n))) |