소스 검색

mi_xmlrpc: define TRUE/FALSE if not defined

- reported by GH #885
Daniel-Constantin Mierla 8 년 전
부모
커밋
1bba5faf5c
1개의 변경된 파일8개의 추가작업 그리고 0개의 파일을 삭제
  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
 *********************************************************************/