summaryrefslogtreecommitdiffstats
path: root/rsyslog.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-07-18 15:43:28 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-07-18 15:43:28 +0000
commit00c12a28e774c5a8ae010918e8602f8da3698814 (patch)
tree127551fccd4a9737b9f3f3245b0d9685f8439459 /rsyslog.h
parent4a963e5f1fdac9c1d4d404fe75ea2ceaf93ae37d (diff)
downloadrsyslog-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.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/rsyslog.h b/rsyslog.h
index 2c3449ab..1f633059 100644
--- a/rsyslog.h
+++ b/rsyslog.h
@@ -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 */