diff src/vamp-sdk/RealTime.cpp @ 479:ea8e56f0796a

Fix inadequate #if guard for non-gcc builds
author Chris Cannam
date Mon, 09 Jan 2017 16:31:58 +0000
parents 15348e89c1d7
children 8ede825a54f6
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