mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Fix Windows build
This commit is contained in:
parent
f6fc39e69a
commit
5fb8778e28
1 changed files with 6 additions and 0 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue