mirror of https://github.com/encounter/SDL.git
Fixed build warning
This commit is contained in:
parent
eb83da0234
commit
d59a926837
|
@ -109,6 +109,9 @@ extern "C" {
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
/* Thanks Microsoft, but I know how to use strncpy(). */
|
/* Thanks Microsoft, but I know how to use strncpy(). */
|
||||||
#pragma warning(disable:4996)
|
#pragma warning(disable:4996)
|
||||||
|
|
||||||
|
/* Yes, we have some unreferenced formal parameters */
|
||||||
|
#pragma warning(disable:4100)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
|
Loading…
Reference in New Issue