diff options
Diffstat (limited to 'include/wolf/port/sys.h')
-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 */ |