diff options
author | Andreas Baumann <abaumann@yahoo.com> | 2010-05-16 10:26:24 +0200 |
---|---|---|
committer | Andreas Baumann <abaumann@yahoo.com> | 2010-05-16 10:26:24 +0200 |
commit | 416b892e1cca24de1de29a1e6c9913855db760fb (patch) | |
tree | 29ed0c3ec3f4a30c351b8a09b1df9dc98fb72318 /include | |
parent | d26c22be0ff0e7faf3187a760af854d81c2953ec (diff) | |
download | wolfbones-416b892e1cca24de1de29a1e6c9913855db760fb.tar.gz wolfbones-416b892e1cca24de1de29a1e6c9913855db760fb.tar.bz2 |
compiles with newest CVS version of PCC and with newest glibc and kernel header files, but
there are a lot of funny GNUism in public header files..
Diffstat (limited to 'include')
-rw-r--r-- | include/wolf/port/sys.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/wolf/port/sys.h b/include/wolf/port/sys.h index eccd98a..5a32882 100644 --- a/include/wolf/port/sys.h +++ b/include/wolf/port/sys.h @@ -304,4 +304,18 @@ /** @} */ /* @addtogroup wolf_port */ +#ifdef __PCC__ + +/* __PRETTY_FUNCTION__ is a GNU extension, no harm if we define it to _func_ + * which must be there (poluted pthreads.h header file!) + */ +#define __PRETTY_FUNCTION__ __func__ +#define _VA_LIST_DEFINED + +#define __THROW +#define __const const +#define __USER_LABEL_PREFIX__ + +#endif + #endif /* ifndef WOLF_SYS_H */ |