diff options
author | Roy Marples <roy@marples.name> | 2008-02-20 18:06:01 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2008-02-20 18:06:01 +0000 |
commit | 405cea1f19eb4de00805eeb6bddd36184e51b400 (patch) | |
tree | ac9b495c2999a5e508a1d3728f018dfc8d004dc6 /src/libeinfo/einfo.h | |
parent | d3d22914fc4bede8b022da0c8d08c1eaf05225e6 (diff) |
Support the PCC compiler.
Diffstat (limited to 'src/libeinfo/einfo.h')
-rw-r--r-- | src/libeinfo/einfo.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libeinfo/einfo.h b/src/libeinfo/einfo.h index ca2487b4..49ef03fb 100644 --- a/src/libeinfo/einfo.h +++ b/src/libeinfo/einfo.h @@ -27,7 +27,7 @@ #ifndef __EINFO_H__ #define __EINFO_H__ -#ifdef __GNUC__ +#if defined(__GNUC__) || defined(__PCC__) # define __EINFO_PRINTF __attribute__ ((__format__ (__printf__, 1, 2))) # define __EINFO_XPRINTF __attribute__ ((__noreturn__, __format__ (__printf__, 1, 2))) # define __EEND_PRINTF __attribute__ ((__format__ (__printf__, 2, 3))) |