Explorar o código

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
Ton Voon %!s(int64=22) %!d(string=hai) anos
pai
achega
e47b74ede5
Modificáronse 2 ficheiros con 4 adicións e 0 borrados
  1. 1 0
      AUTHORS
  2. 3 0
      plugins/common.h

+ 1 - 0
AUTHORS

@@ -82,3 +82,4 @@ Eric Bollengier
 Edwin Eefting
 Peter Hoogendijk
 Kjell Sundtjonn
+Ludse Verhoeven

+ 3 - 0
plugins/common.h

@@ -139,10 +139,13 @@ enum {
 	ERROR = -1
 };
 
+/* AIX seems to have this defined somewhere else */
+#ifndef FALSE
 enum {
 	FALSE,
 	TRUE
 };
+#endif
 
 enum {
 	STATE_OK,