mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
GCC build fix
This commit is contained in:
parent
0cf8382e95
commit
ae79f06ce8
3 changed files with 4 additions and 2 deletions
|
|
@ -1,6 +1,7 @@
|
|||
#ifndef SRC_CONSTANTS_H_
|
||||
#define SRC_CONSTANTS_H_
|
||||
|
||||
#include <limits.h>
|
||||
#include "typedefs.h"
|
||||
|
||||
#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;
|
||||
}
|
||||
|
||||
#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);
|
||||
}
|
||||
|
||||
#endif // FILES_RLE_H_
|
||||
#endif // FILES_RLE_H_
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#include <stdlib.h>
|
||||
#include <stdint.h>
|
||||
|
||||
typedef unsigned int uint;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue