summaryrefslogtreecommitdiffstats
path: root/rsyslog.h
diff options
context:
space:
mode:
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 */