]> andersk Git - moira.git/commitdiff
Need to check major version number of glibc, too. Redhat 9 bumps it from 2 to 3.
authorzacheiss <zacheiss>
Wed, 9 Apr 2003 23:53:10 +0000 (23:53 +0000)
committerzacheiss <zacheiss>
Wed, 9 Apr 2003 23:53:10 +0000 (23:53 +0000)
include/moira.h

index 49983ea0153e3f9dfb0a532c3241ab1674e87528..593877ccc2a15b833fd8894cb0272dc024954d58 100644 (file)
@@ -163,7 +163,7 @@ int mr_version(int version);
 
 
 #ifdef __GNUC__
-#if __GNUC_MINOR__ < 7
+#if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 7)
 #define __attribute__(x)
 #endif
 #else /* ! __GNUC __ */
This page took 0.044176 seconds and 5 git commands to generate.