From 9842a3f819105b2c83d3fac7aad70b3f7918e4e5 Mon Sep 17 00:00:00 2001 From: Kreijstal Date: Mon, 11 Dec 2023 16:32:39 +0100 Subject: [PATCH] fix: add support for int32_t on other compilers (#114) --- util.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/util.h b/util.h index c24622f..6854c64 100644 --- a/util.h +++ b/util.h @@ -2,6 +2,7 @@ #define __UTIL_H__ #include +#include bool ends_with(const std::string& str, const std::string& ending); bool starts_with(const std::string& str, const std::string& start); @@ -34,4 +35,4 @@ void log_printf(SDLogLevel level, const char* file, int line, const char* format #define LOG_INFO(format, ...) log_printf(SDLogLevel::INFO, __FILE__, __LINE__, format, ##__VA_ARGS__) #define LOG_WARN(format, ...) log_printf(SDLogLevel::WARN, __FILE__, __LINE__, format, ##__VA_ARGS__) #define LOG_ERROR(format, ...) log_printf(SDLogLevel::ERROR, __FILE__, __LINE__, format, ##__VA_ARGS__) -#endif // __UTIL_H__ \ No newline at end of file +#endif // __UTIL_H__