A typedef named "boolean" (but defined as "unsigned char", not "int") is
already defined in one of the Windows header files, so it was redefined to
a non-conflicting name to prevent collisions when compiling for the Windows
platform.
#include <string.h>
#include <sys/types.h>
-typedef int boolean;
#if !defined(PLATFORM_WIN32)
+typedef int boolean;
typedef unsigned char byte;
#endif
/* some symbols are already defined on Windows */
+typedef int boolean_internal;
+#define boolean boolean_internal
+
#define CreateBitmap CreateBitmap_internal
#define GetPixel GetPixel_internal
#define CloseWindow CloseWindow_internal