|
From: Jeremy F. <je...@go...> - 2005-01-18 18:09:05
|
CVS commit by fitzhardinge:
Fix compiler version check.
M +1 -1 tls.h 1.2
--- valgrind/none/tests/tls.h #1.1:1.2
@@ -1,5 +1,5 @@
/* I wish there were a feature-test we could do rather
than a version test */
-#if __GNUC__ >= 3 && __GNUC_PATCHLEVEL__ >= 3
+#if (__GNUC__ == 3 && __GNUC_MINOR__ >= 3) || __GNUC__ > 3
#define HAVE_TLS 1
#endif
|