From 416b892e1cca24de1de29a1e6c9913855db760fb Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sun, 16 May 2010 10:26:24 +0200 Subject: 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.. --- include/wolf/port/sys.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'include') 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 */ -- cgit v1.2.3-54-g00ecf