Add missing guards around push/pop pragmas

This matches all the other places where we silence Windows warnings.
This commit is contained in:
bobsayshilol
2024-10-27 20:23:50 +00:00
parent c1496ab6c0
commit bb308b3ff4

View File

@@ -1,10 +1,15 @@
#pragma warning(push)
#pragma warning(disable: 4245)
#if defined(GB_SYSTEM_WINDOWS)
#pragma warning(push)
#pragma warning(disable: 4245)
#endif
extern "C" {
#include "utf8proc/utf8proc.c"
}
#pragma warning(pop)
#if defined(GB_SYSTEM_WINDOWS)
#pragma warning(pop)
#endif
gb_internal bool rune_is_letter(Rune r) {