Avoid redefining TRUE and FALSE on Haiku

This commit is contained in:
Scott McCreary 2013-11-04 19:16:28 +00:00
parent 290cee02b1
commit fa665e06f0

View file

@ -239,8 +239,10 @@ char *strcasestr(const char *haystack, const char *needle)
#if defined __BEOS__ || defined __HAIKU__ || defined __APPLE__ #if defined __BEOS__ || defined __HAIKU__ || defined __APPLE__
#include <wchar.h> #include <wchar.h>
#include <stdbool.h> #include <stdbool.h>
#ifndef __HAIKU__
#define FALSE false #define FALSE false
#define TRUE true #define TRUE true
#endif
#else #else
#include <wchar.h> #include <wchar.h>
#include <wctype.h> #include <wctype.h>