changeset 1357:dca12b13d90b 3.0-integration

Fix a strictly-incorrect #if guard
author Chris Cannam
date Mon, 09 Jan 2017 16:41:45 +0000
parents 39ce813e185c
children b7be05d57f0a
files system/System.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/system/System.cpp	Mon Jan 09 16:39:55 2017 +0000
+++ b/system/System.cpp	Mon Jan 09 16:41:45 2017 +0000
@@ -286,7 +286,7 @@
 #endif
 }
 #else /* !_WIN32 */
-#if !defined(__APPLE__) && ((__GNUC__ < 4) || (__GNUC__ == 4 && __GNUC_MINOR__ == 0))
+#if !defined(__APPLE__) && defined(__GNUC__) && ((__GNUC__ < 4) || (__GNUC__ == 4 && __GNUC_MINOR__ == 0))
 void
 SystemMemoryBarrier()
 {