|
@@ -45,12 +45,20 @@ typedef void (*exitcall_t)(void);
|
|
# define __section(S) __attribute__ ((__section__(#S)))
|
|
# define __section(S) __attribute__ ((__section__(#S)))
|
|
#endif
|
|
#endif
|
|
|
|
|
|
|
|
+#if __GNUC__ == 3
|
|
|
|
+
|
|
#if __GNUC_MINOR__ >= 3
|
|
#if __GNUC_MINOR__ >= 3
|
|
# define __used __attribute__((__used__))
|
|
# define __used __attribute__((__used__))
|
|
#else
|
|
#else
|
|
# define __used __attribute__((__unused__))
|
|
# define __used __attribute__((__unused__))
|
|
#endif
|
|
#endif
|
|
|
|
|
|
|
|
+#else
|
|
|
|
+#if __GNUC__ == 4
|
|
|
|
+# define __used __attribute__((__used__))
|
|
|
|
+#endif
|
|
|
|
+#endif
|
|
|
|
+
|
|
#else
|
|
#else
|
|
#include <linux/compiler.h>
|
|
#include <linux/compiler.h>
|
|
#endif
|
|
#endif
|