From 5fb8778e28beb256513a5c8c20a803066c625c76 Mon Sep 17 00:00:00 2001 From: sfan5 Date: Mon, 23 Jun 2014 14:50:00 +0200 Subject: [PATCH] Fix Windows build --- src/cguittfont/irrUString.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/cguittfont/irrUString.h b/src/cguittfont/irrUString.h index 09494452..8d7a23aa 100644 --- a/src/cguittfont/irrUString.h +++ b/src/cguittfont/irrUString.h @@ -41,7 +41,13 @@ #include #include #include +#ifdef _WIN32 +#define __BYTE_ORDER 0 +#define __LITTLE_ENDIAN 0 +#define __BIG_ENDIAN 1 +#else #include +#endif #ifdef USTRING_CPP0X # include