Fix MSVC warnings. (#5619)

This commit is contained in:
Jeffery Myers
2026-03-03 22:52:50 -08:00
committed by GitHub
parent 71677765c5
commit 28288fafb1
13 changed files with 72 additions and 68 deletions

View File

@ -357,8 +357,10 @@
#elif defined(USE_LIBTYPE_SHARED)
#define RAYGUIAPI __declspec(dllimport) // Using the library as a Win32 shared library (.dll)
#endif
#if !defined(_CRT_SECURE_NO_WARNINGS)
#define _CRT_SECURE_NO_WARNINGS // Disable unsafe warnings on scanf() functions in MSVC
#endif
#endif
// Function specifiers definition
#ifndef RAYGUIAPI