summaryrefslogtreecommitdiffstats
path: root/plugins/common.h
diff options
context:
space:
mode:
authorTon Voon <tonvoon@users.sourceforge.net>2003-09-16 12:32:13 +0000
committerTon Voon <tonvoon@users.sourceforge.net>2003-09-16 12:32:13 +0000
commite47b74ede50b0f4feabda65f5c33fee6da13c136 (patch)
tree6d683b052352efbe14ef63b5cf6f72acbea7af17 /plugins/common.h
parent0d6e500deaddd2de2f51711b3d014b98a9879882 (diff)
downloadmonitoring-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/common.h')
-rw-r--r--plugins/common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/common.h b/plugins/common.h
index 372e59ac..0c21fbeb 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
142enum { 144enum {
143 FALSE, 145 FALSE,
144 TRUE 146 TRUE
145}; 147};
148#endif
146 149
147enum { 150enum {
148 STATE_OK, 151 STATE_OK,