summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTon Voon <tonvoon@users.sourceforge.net>2003-09-16 12:32:13 (GMT)
committerTon Voon <tonvoon@users.sourceforge.net>2003-09-16 12:32:13 (GMT)
commite47b74ede50b0f4feabda65f5c33fee6da13c136 (patch)
tree6d683b052352efbe14ef63b5cf6f72acbea7af17
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
-rw-r--r--AUTHORS1
-rw-r--r--plugins/common.h3
2 files changed, 4 insertions, 0 deletions
diff --git a/AUTHORS b/AUTHORS
index a92db2d..fcf612a 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -82,3 +82,4 @@ Eric Bollengier
82Edwin Eefting 82Edwin Eefting
83Peter Hoogendijk 83Peter Hoogendijk
84Kjell Sundtjonn 84Kjell Sundtjonn
85Ludse Verhoeven
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
142enum { 144enum {
143 FALSE, 145 FALSE,
144 TRUE 146 TRUE
145}; 147};
148#endif
146 149
147enum { 150enum {
148 STATE_OK, 151 STATE_OK,