Skip to content

Commit 5fb8778

Browse files
committedJun 23, 2014
Fix Windows build
1 parent f6fc39e commit 5fb8778

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed
 

‎src/cguittfont/irrUString.h

+6
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,13 @@
4141
#include <stdio.h>
4242
#include <string.h>
4343
#include <stdlib.h>
44+
#ifdef _WIN32
45+
#define __BYTE_ORDER 0
46+
#define __LITTLE_ENDIAN 0
47+
#define __BIG_ENDIAN 1
48+
#else
4449
#include <endian.h>
50+
#endif
4551

4652
#ifdef USTRING_CPP0X
4753
# include <utility>

0 commit comments

Comments
 (0)
Please sign in to comment.