summaryrefslogtreecommitdiff
blob: b956180627bc8e14777fe23e494133573d0b6759 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- icewm-1.3.8/src/base.h
+++ icewm-1.3.8/src/base.h
@@ -2,7 +2,9 @@
 #define __BASE_H
 
 #if ( __GNUC__ == 3 && __GNUC_MINOR__ > 0 ) || __GNUC__ > 3
+#if ( __GNUC__ == 4 && __GNUC_MINOR__ > 7 ) || __GNUC__ > 3
 #define _icewm_deprecated __attribute__((deprecated))
+#endif
 #else
 #define _icewm_deprecated
 #endif