summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2010-06-06 22:02:56 +0200
committerAndreas Baumann <abaumann@yahoo.com>2010-06-06 22:02:56 +0200
commitcd1d6378a2b53021b0be2b17eca63d7c47931822 (patch)
tree4cffdc60100cdf81dde0c3402008e6dd641a8bad /include
parentf7869fb25b4e43f3c3ee0fe956de6d65c8d8de62 (diff)
downloadwolfbones-cd1d6378a2b53021b0be2b17eca63d7c47931822.tar.gz
wolfbones-cd1d6378a2b53021b0be2b17eca63d7c47931822.tar.bz2
fixed pcc on linux (gengetopt and generated code, __attribute__ infection of header files)
Diffstat (limited to 'include')
-rw-r--r--include/wolf/port/sys.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/wolf/port/sys.h b/include/wolf/port/sys.h
index 6994d13..98661a6 100644
--- a/include/wolf/port/sys.h
+++ b/include/wolf/port/sys.h
@@ -343,10 +343,12 @@
#define __PRETTY_FUNCTION__ __func__
#define _VA_LIST_DEFINED
-#define __THROW
#define __const const
#define __USER_LABEL_PREFIX__
+/* all GNUish macros should be ignored */
+#define __attribute__(X)
+
#endif /* defined __PCC__ **/
#endif /* ifndef WOLF_SYS_H */