diff options
author | musil <tmusil@users.sourceforge.net> | 2007-07-05 14:51:23 +0000 |
---|---|---|
committer | musil <tmusil@users.sourceforge.net> | 2007-07-05 14:51:23 +0000 |
commit | 1249e522b4bc5753fabac0ccb11ff13613a3f669 (patch) | |
tree | 477efb12112779500ec52b60c66f44f5952b5d98 /src | |
parent | 83b0e87f32388a3ea64440cfade4a06c684770e4 (diff) |
w32 does not know vsnprintf()! use _vsnprintf(), dude...
svn path=/trunk/externals/zexy/; revision=7899
Diffstat (limited to 'src')
-rw-r--r-- | src/fwriteln.c | 4 | ||||
-rw-r--r-- | src/zexy.c | 5 |
2 files changed, 9 insertions, 0 deletions
diff --git a/src/fwriteln.c b/src/fwriteln.c index b322642..ae09f9c 100644 --- a/src/fwriteln.c +++ b/src/fwriteln.c @@ -17,6 +17,10 @@ #include "zexy.h" +#ifdef __WIN32__ +# define snprintf _snprintf +#endif + #include <stdio.h> #include <string.h> @@ -23,6 +23,11 @@ #include "z_zexy.h" #include <stdarg.h> + +#ifdef __WIN32__ +# define vsnprintf _vsnprintf +#endif + /* do a little help thing */ typedef struct zexy |