Fixed build warning

main
Sam Lantinga 2021-01-27 21:30:21 -08:00
parent eb83da0234
commit d59a926837
1 changed files with 3 additions and 0 deletions

View File

@ -109,6 +109,9 @@ extern "C" {
#ifdef _MSC_VER
/* Thanks Microsoft, but I know how to use strncpy(). */
#pragma warning(disable:4996)
/* Yes, we have some unreferenced formal parameters */
#pragma warning(disable:4100)
#endif
#ifdef __cplusplus