From 7f842d85baf6de4a94b847736d96703af74b8a27 Mon Sep 17 00:00:00 2001 From: Jeffery Myers Date: Wed, 28 Jan 2026 11:31:00 -0800 Subject: [PATCH] Disable unsafe warnings on CRT scanf functions in MSVC (#519) --- src/raygui.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/raygui.h b/src/raygui.h index b568754..00a126e 100644 --- a/src/raygui.h +++ b/src/raygui.h @@ -355,6 +355,7 @@ #elif defined(USE_LIBTYPE_SHARED) #define RAYGUIAPI __declspec(dllimport) // Using the library as a Win32 shared library (.dll) #endif + #define _CRT_SECURE_NO_WARNINGS // disable unsafe warnings on scanf functions in MSVC #endif // Function specifiers definition