GCC build fix
This commit is contained in:
parent
0cf8382e95
commit
ae79f06ce8
@ -1,6 +1,7 @@
|
|||||||
#ifndef SRC_CONSTANTS_H_
|
#ifndef SRC_CONSTANTS_H_
|
||||||
#define SRC_CONSTANTS_H_
|
#define SRC_CONSTANTS_H_
|
||||||
|
|
||||||
|
#include <limits.h>
|
||||||
#include "typedefs.h"
|
#include "typedefs.h"
|
||||||
|
|
||||||
#define CHUNK_W 16
|
#define CHUNK_W 16
|
||||||
@ -17,4 +18,4 @@ inline uint vox_index(int x, int y, int z, int w, int d) {
|
|||||||
return (y * d + z) * w + x;
|
return (y * d + z) * w + x;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // SRC_CONSTANTS_H_
|
#endif // SRC_CONSTANTS_H_
|
||||||
|
|||||||
@ -14,4 +14,4 @@ namespace extrle {
|
|||||||
size_t decode(const ubyte* src, size_t length, ubyte* dst);
|
size_t decode(const ubyte* src, size_t length, ubyte* dst);
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // FILES_RLE_H_
|
#endif // FILES_RLE_H_
|
||||||
|
|||||||
@ -1,3 +1,4 @@
|
|||||||
|
#include <stdlib.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
typedef unsigned int uint;
|
typedef unsigned int uint;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user