Explorar o código

mi_xmlrpc: define TRUE/FALSE if not defined

- reported by GH #885
Daniel-Constantin Mierla %!s(int64=8) %!d(string=hai) anos
pai
achega
1bba5faf5c
Modificáronse 1 ficheiros con 8 adicións e 0 borrados
  1. 8 0
      src/modules/mi_xmlrpc/abyss_data.c

+ 8 - 0
src/modules/mi_xmlrpc/abyss_data.c

@@ -45,6 +45,14 @@
 
 #include "abyss_data.h"
 
+#ifndef TRUE
+#define TRUE	1
+#endif	/* TRUE */
+
+#ifndef FALSE
+#define FALSE    0
+#endif  /* FALSE */
+
 /*********************************************************************
 ** List
 *********************************************************************/