[1.5] Remove a warning about undefined snprintf on windows compiler.

This commit is contained in:
Mathieu Malaterre 2012-03-02 17:13:59 +00:00
parent dcf78f14f6
commit fab8de59d3
1 changed files with 3 additions and 0 deletions

View File

@ -32,6 +32,9 @@
#include <string.h>
#include <stdio.h>
#include "channel_manager.h"
#ifdef _WIN32
#define snprintf _snprintf /* Visual Studio */
#endif
#ifdef SERVER
#include "fcgi_stdio.h"