diff options
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 |