forked from Mirrorlandia_minetest/minetest
Fix Windows build
This commit is contained in:
@ -41,7 +41,13 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
#ifdef _WIN32
|
||||||
|
#define __BYTE_ORDER 0
|
||||||
|
#define __LITTLE_ENDIAN 0
|
||||||
|
#define __BIG_ENDIAN 1
|
||||||
|
#else
|
||||||
#include <endian.h>
|
#include <endian.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef USTRING_CPP0X
|
#ifdef USTRING_CPP0X
|
||||||
# include <utility>
|
# include <utility>
|
||||||
|
Reference in New Issue
Block a user