diff options
author | Ton Voon <tonvoon@users.sourceforge.net> | 2003-09-16 12:32:13 (GMT) |
---|---|---|
committer | Ton Voon <tonvoon@users.sourceforge.net> | 2003-09-16 12:32:13 (GMT) |
commit | e47b74ede50b0f4feabda65f5c33fee6da13c136 (patch) | |
tree | 6d683b052352efbe14ef63b5cf6f72acbea7af17 /plugins | |
parent | 0d6e500deaddd2de2f51711b3d014b98a9879882 (diff) | |
download | monitoring-plugins-e47b74ede50b0f4feabda65f5c33fee6da13c136.tar.gz |
AIX problem with enum TRUE and FALSE (Ludse Verhoeven)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@730 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/common.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/common.h b/plugins/common.h index 372e59a..0c21fbe 100644 --- a/plugins/common.h +++ b/plugins/common.h | |||
@@ -139,10 +139,13 @@ enum { | |||
139 | ERROR = -1 | 139 | ERROR = -1 |
140 | }; | 140 | }; |
141 | 141 | ||
142 | /* AIX seems to have this defined somewhere else */ | ||
143 | #ifndef FALSE | ||
142 | enum { | 144 | enum { |
143 | FALSE, | 145 | FALSE, |
144 | TRUE | 146 | TRUE |
145 | }; | 147 | }; |
148 | #endif | ||
146 | 149 | ||
147 | enum { | 150 | enum { |
148 | STATE_OK, | 151 | STATE_OK, |