Commit d5eea470 authored by Ghislain MARY's avatar Ghislain MARY

Fix build with MinGW.

parent 7a8cfdef
......@@ -37,14 +37,13 @@
#include <winsock2.h>
#include <ws2tcpip.h>
#ifdef _MSC_VER
#define strcasecmp _stricmp
#ifdef _MSC_VER
#define snprintf _snprintf
#define vsnprintf _vsnprintf
#define strdup _strdup
#else
#include <stdint.h>
#include <strings.h>
#endif
/*AI_NUMERICSERV is not defined for windows XP. Since it is not essential, we define it to 0 (does nothing)*/
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment