diff options
author | Andreas Baumann <abaumann@yahoo.com> | 2010-06-06 22:02:56 +0200 |
---|---|---|
committer | Andreas Baumann <abaumann@yahoo.com> | 2010-06-06 22:02:56 +0200 |
commit | cd1d6378a2b53021b0be2b17eca63d7c47931822 (patch) | |
tree | 4cffdc60100cdf81dde0c3402008e6dd641a8bad /include | |
parent | f7869fb25b4e43f3c3ee0fe956de6d65c8d8de62 (diff) | |
download | wolfbones-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.h | 4 |
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 */ |