Module: Mesa Branch: main Commit: a9da108c6b511cb74bfd89a4ce7658ffae288fd7 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a9da108c6b511cb74bfd89a4ce7658ffae288fd7
Author: Yonggang Luo <[email protected]> Date: Tue Sep 20 03:33:44 2022 +0800 nir: No need redefine snprintf anymore in nir.h Signed-off-by: Yonggang Luo <[email protected]> Reviewed-by: Jesse Natalie <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18685> --- src/compiler/nir/nir.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/compiler/nir/nir.h b/src/compiler/nir/nir.h index 58b26c131a4..c7372301f4a 100644 --- a/src/compiler/nir/nir.h +++ b/src/compiler/nir/nir.h @@ -54,10 +54,6 @@ #include "nir_opcodes.h" -#if defined(_WIN32) && !defined(snprintf) -#define snprintf _snprintf -#endif - #ifdef __cplusplus extern "C" { #endif
