From 2353e96c320d4bd26d10dc29b57df3e9f882e6d3 Mon Sep 17 00:00:00 2001 From: Karl Schultz Date: Sat, 3 Aug 2002 16:19:20 +0000 Subject: [PATCH] Coerce vsnprintf to _vsnprintf for windows --- src/mesa/main/imports.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/mesa/main/imports.c b/src/mesa/main/imports.c index a1329c6c8f5..bd62f279aad 100644 --- a/src/mesa/main/imports.c +++ b/src/mesa/main/imports.c @@ -1,4 +1,4 @@ -/* $Id: imports.c,v 1.17 2002/08/01 15:10:23 brianp Exp $ */ +/* $Id: imports.c,v 1.18 2002/08/03 16:19:20 kschultz Exp $ */ /* * Mesa 3-D graphics library @@ -49,6 +49,9 @@ #define MAXSTRING 4000 /* for vsnprintf() */ +#ifdef WIN32 +#define vsnprintf _vsnprintf +#endif static void * _mesa_Malloc(__GLcontext *gc, size_t size) -- 2.30.2