mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 06:40:08 +01:00
nir: Use _snprintf on Windows.
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
This commit is contained in:
parent
ba0c0e3940
commit
feb6732e80
1 changed files with 4 additions and 0 deletions
|
|
@ -31,6 +31,10 @@
|
|||
#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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue