diff options
author | sfan5 <sfan5@live.de> | 2014-06-23 14:50:00 +0200 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2014-06-23 14:50:00 +0200 |
commit | 5fb8778e28beb256513a5c8c20a803066c625c76 (patch) | |
tree | 11e4c35172a2945a754e065e1020c18f3db2b938 /src/cguittfont | |
parent | f6fc39e69a0a621480bec9ceafd154ec83cf0100 (diff) | |
download | minetest-5fb8778e28beb256513a5c8c20a803066c625c76.tar.gz minetest-5fb8778e28beb256513a5c8c20a803066c625c76.tar.bz2 minetest-5fb8778e28beb256513a5c8c20a803066c625c76.zip |
Fix Windows build
Diffstat (limited to 'src/cguittfont')
-rw-r--r-- | src/cguittfont/irrUString.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/cguittfont/irrUString.h b/src/cguittfont/irrUString.h index 094944520..8d7a23aa4 100644 --- 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> |