diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2007-07-18 15:43:28 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2007-07-18 15:43:28 +0000 |
commit | 00c12a28e774c5a8ae010918e8602f8da3698814 (patch) | |
tree | 127551fccd4a9737b9f3f3245b0d9685f8439459 /rsyslog.h | |
parent | 4a963e5f1fdac9c1d4d404fe75ea2ceaf93ae37d (diff) | |
download | rsyslog-00c12a28e774c5a8ae010918e8602f8da3698814.tar.gz rsyslog-00c12a28e774c5a8ae010918e8602f8da3698814.tar.xz rsyslog-00c12a28e774c5a8ae010918e8602f8da3698814.zip |
more cleanup; restored compatibility to non-gcc compilers
Diffstat (limited to 'rsyslog.h')
-rw-r--r-- | rsyslog.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -94,4 +94,12 @@ typedef enum rsObjectID rsObjID; */ typedef unsigned char uchar; +/* for the time being, we do our own portability handling here. It + * looks like autotools either does not yet support checks for it, or + * I wasn't smart enough to find them ;) rgerhards, 2007-07-18 + */ +#ifndef __GNUC__ +# define __attribute__(x) /*NOTHING*/ +#endif + #endif /* multi-include protection */ |