GCC build fix

This commit is contained in:
MihailRis 2023-11-05 15:39:37 +03:00 committed by GitHub
parent 0cf8382e95
commit ae79f06ce8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 2 deletions

View File

@ -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_

View File

@ -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_

View File

@ -1,3 +1,4 @@
#include <stdlib.h>
#include <stdint.h>
typedef unsigned int uint;