diff options
author | Karl Schultz <[email protected]> | 2002-08-03 16:19:20 +0000 |
---|---|---|
committer | Karl Schultz <[email protected]> | 2002-08-03 16:19:20 +0000 |
commit | 2353e96c320d4bd26d10dc29b57df3e9f882e6d3 (patch) | |
tree | bfcb187339a941d35acb21d801866ca614e1703e /src/mesa/main/imports.c | |
parent | 971df9b3892559f4a599fe18eee83ebdb3dc4d4d (diff) |
Coerce vsnprintf to _vsnprintf for windows
Diffstat (limited to 'src/mesa/main/imports.c')
-rw-r--r-- | src/mesa/main/imports.c | 5 |
1 files changed, 4 insertions, 1 deletions
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) |