nir: No need redefine snprintf anymore in nir.h

Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18685>
This commit is contained in:
Yonggang Luo 2022-09-20 03:33:44 +08:00 committed by Marge Bot
parent 1ee21139e8
commit a9da108c6b

View file

@ -54,10 +54,6 @@
#include "nir_opcodes.h"
#if defined(_WIN32) && !defined(snprintf)
#define snprintf _snprintf
#endif
#ifdef __cplusplus
extern "C" {
#endif