summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften')
-rw-r--r--Swiften/Base/Override.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Swiften/Base/Override.h b/Swiften/Base/Override.h
index 7f410cf..6d9baaa 100644
--- a/Swiften/Base/Override.h
+++ b/Swiften/Base/Override.h
@@ -14,7 +14,7 @@
# endif
#elif defined(__GNUC__)
-# if (__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 7))
+# if ((__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 7))) && defined(__GXX_EXPERIMENTAL_CXX0X__)
# define SWIFTEN_OVERRIDE override
# else
# define SWIFTEN_OVERRIDE