mirror of
https://github.com/thepigeongenerator/mcaselector-lite.git
synced 2025-12-17 11:05:45 +01:00
rewrite endian header to not interfere with the endian system header.
the system header is inconsistently available across platforms. This header provides the same functionality for less of the cost, overriding the system macros.
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
#include "nbt.h"
|
||||
|
||||
#include <endian.h>
|
||||
#include <stddef.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "../util/compat/endian.h"
|
||||
#include "../util/types.h"
|
||||
|
||||
/* returns the string length from a specific location in the buffer */
|
||||
|
||||
Reference in New Issue
Block a user