u/debug: Silence warnings on MSVC

This commit is contained in:
Ryan Pavlik 2020-07-15 19:39:11 -07:00 committed by Jakob Bornecrantz
parent f7a132e635
commit 695a2c1151

View file

@ -9,6 +9,10 @@
* Debug get option helpers heavily inspired from mesa ones.
*/
#if defined(_MSC_VER) && !defined(_CRT_SECURE_NO_WARNINGS)
#define _CRT_SECURE_NO_WARNINGS
#endif
#include "util/u_debug.h"
#include "util/u_logging.h"