Fix Windows build
authorsfan5 <sfan5@live.de>
Mon, 23 Jun 2014 12:50:00 +0000 (14:50 +0200)
committersfan5 <sfan5@live.de>
Mon, 23 Jun 2014 12:50:00 +0000 (14:50 +0200)
src/cguittfont/irrUString.h

index 094944520cbb947a573f1ba25ee8899d5cf68144..8d7a23aa4b4b8eb5106e81f376c01ed7a559b311 100644 (file)
 #include <stdio.h>
 #include <string.h>
 #include <stdlib.h>
+#ifdef _WIN32
+#define __BYTE_ORDER 0
+#define __LITTLE_ENDIAN 0
+#define __BIG_ENDIAN 1
+#else
 #include <endian.h>
+#endif
 
 #ifdef USTRING_CPP0X
 #      include <utility>