snprintf on windows
This commit is contained in:
parent
4cb825c13d
commit
a1853e0a8e
1 changed files with 4 additions and 0 deletions
|
@ -2,6 +2,10 @@
|
|||
#include "httpfetch.h"
|
||||
#include "transport/logging.h"
|
||||
|
||||
#if WIN32
|
||||
#define snprintf sprintf_s
|
||||
#endif
|
||||
|
||||
DEFINE_LOGGER(logger, "HTTPFetch");
|
||||
|
||||
static int url_to_host_port_path(const char *url,
|
||||
|
|
Loading…
Add table
Reference in a new issue