Mercurial > hg > svcore
diff system/System.cpp @ 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 | 39271c98cbdd |
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() {