changeset 479:ea8e56f0796a

Fix inadequate #if guard for non-gcc builds
author Chris Cannam
date Mon, 09 Jan 2017 16:31:58 +0000
parents 0eebd22a081a
children 6dfe3dd38878
files src/vamp-sdk/RealTime.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/vamp-sdk/RealTime.cpp	Fri Nov 18 14:29:53 2016 +0000
+++ b/src/vamp-sdk/RealTime.cpp	Mon Jan 09 16:31:58 2017 +0000
@@ -43,7 +43,7 @@
 
 #include <iostream>
 
-#if (__GNUC__ < 3)
+#if (defined(__GNUC__)) && (__GNUC__ < 3)
 #include <strstream>
 #define stringstream strstream
 #else