Log warning and fall back to uint8_t if level size wasn't specified.
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
This commit is contained in:
parent
6ba0bb7298
commit
6d6e6ab026
|
@ -12,7 +12,8 @@ typedef uint32_t level_int_t;
|
||||||
#elif LEVEL_U64
|
#elif LEVEL_U64
|
||||||
typedef uint64_t level_int_t;
|
typedef uint64_t level_int_t;
|
||||||
#else
|
#else
|
||||||
#error No Level size was specified
|
#warning Level size wasn't specified, falling back to uint8_t
|
||||||
|
typedef uint8_t level_int_t;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // CREATURELIB_DEFINES_HPP
|
#endif // CREATURELIB_DEFINES_HPP
|
||||||
|
|
Loading…
Reference in New Issue