projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f6fc39e
)
Fix Windows build
author
sfan5
<sfan5@live.de>
Mon, 23 Jun 2014 12:50:00 +0000
(14:50 +0200)
committer
sfan5
<sfan5@live.de>
Mon, 23 Jun 2014 12:50:00 +0000
(14:50 +0200)
src/cguittfont/irrUString.h
patch
|
blob
|
history
diff --git
a/src/cguittfont/irrUString.h
b/src/cguittfont/irrUString.h
index 094944520cbb947a573f1ba25ee8899d5cf68144..8d7a23aa4b4b8eb5106e81f376c01ed7a559b311 100644
(file)
--- a/
src/cguittfont/irrUString.h
+++ b/
src/cguittfont/irrUString.h
@@
-41,7
+41,13
@@
#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>