aboutsummaryrefslogtreecommitdiffstats
path: root/src/compiler/nir/nir_print.c
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2017-05-08 13:34:53 -0400
committerRob Clark <[email protected]>2017-05-08 13:41:16 -0400
commitae7aa8dbaf7c65a8b0d86713530a751b7d2f10b0 (patch)
treeb7a007fc563d0d76aaa7e610e5d57030218276fb /src/compiler/nir/nir_print.c
parent25d246f4544ff952fc288bc8abb84b18c582ac79 (diff)
nir: fix (hopefully) windows build
Fixes: 53aa109b ("nir: add pass to lower atomic counters to SSBO") Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/compiler/nir/nir_print.c')
-rw-r--r--src/compiler/nir/nir_print.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/compiler/nir/nir_print.c b/src/compiler/nir/nir_print.c
index e6c5c9c830d..dfdb5f36191 100644
--- a/src/compiler/nir/nir_print.c
+++ b/src/compiler/nir/nir_print.c
@@ -31,10 +31,6 @@
#include <stdlib.h>
#include <inttypes.h> /* for PRIx64 macro */
-#if defined(_WIN32) && !defined(snprintf)
-#define snprintf _snprintf
-#endif
-
static void
print_tabs(unsigned num_tabs, FILE *fp)
{