mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-03 22:28:46 +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:
+8
-3
@@ -1,10 +1,15 @@
|
|||||||
#pragma warning(push)
|
#if defined(GB_SYSTEM_WINDOWS)
|
||||||
#pragma warning(disable: 4245)
|
#pragma warning(push)
|
||||||
|
#pragma warning(disable: 4245)
|
||||||
|
#endif
|
||||||
|
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#include "utf8proc/utf8proc.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) {
|
gb_internal bool rune_is_letter(Rune r) {
|
||||||
|
|||||||
Reference in New Issue
Block a user