diff options
author | Ton Voon <tonvoon@users.sourceforge.net> | 2003-10-24 13:28:24 (GMT) |
---|---|---|
committer | Ton Voon <tonvoon@users.sourceforge.net> | 2003-10-24 13:28:24 (GMT) |
commit | 95bf7b2fd406505c9b7ca8bf84519c605a41c761 (patch) | |
tree | 3a540b4c3fc97bdf0e3b5a25c83deac617cd5de5 /plugins/common.h | |
parent | 77920ec2258db314f12a598e56eb9525a019daea (diff) | |
download | monitoring-plugins-95bf7b2fd406505c9b7ca8bf84519c605a41c761.tar.gz |
Ignore __attribute__ for non-GNU compilers
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@753 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/common.h')
-rw-r--r-- | plugins/common.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/common.h b/plugins/common.h index 0c21fbe..3e89252 100644 --- a/plugins/common.h +++ b/plugins/common.h | |||
@@ -180,3 +180,8 @@ enum { | |||
180 | # define textdomain(Domain) | 180 | # define textdomain(Domain) |
181 | # define bindtextdomain(Package, Directory) | 181 | # define bindtextdomain(Package, Directory) |
182 | #endif | 182 | #endif |
183 | |||
184 | /* For non-GNU compilers to ignore __attribute__ */ | ||
185 | #ifndef __GNUC__ | ||
186 | # define __attribute__(x) /* do nothing */ | ||
187 | #endif | ||