mirror of
https://github.com/odin-lang/Odin.git
synced 2025-12-29 09:24:33 +00:00
Add missing guards around push/pop pragmas
This matches all the other places where we silence Windows warnings.
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user