icewm/icewm-1.3.7-buildfix-deprecated.patch

14 lines
417 B
Diff
Raw Permalink Normal View History

--- icewm-1.3.7.orig/src/base.h
+++ icewm-1.3.7/src/base.h
@@ -2,9 +2,9 @@
#define __BASE_H
#if ( __GNUC__ == 3 && __GNUC_MINOR__ > 0 ) || __GNUC__ > 3
-#define deprecated __attribute__((deprecated))
+#define _ICEWM_deprecated __attribute__((deprecated))
#else
-#define deprecated
+#define _ICEWM_deprecated
#endif
/*** Atomar Data Types ********************************************************/