summaryrefslogtreecommitdiff
path: root/async.c
diff options
context:
space:
mode:
authorMark Nunberg <mnunberg@users.noreply.github.com>2019-08-09 07:37:28 -0400
committerGitHub <noreply@github.com>2019-08-09 07:37:28 -0400
commitac49287c3dc5abd92545024484194275ce7899fd (patch)
tree26f04129e515667c0605676dffa8514f91d9798e /async.c
parent3af99d5fd5c2352cd73e851686bb18de122897f1 (diff)
parentbbbafc5324aa0986c486756f260853fc8e8faf93 (diff)
Merge pull request #663 from mbitsnbites/mingw-support-2
Windows: MinGW fixes and Windows Travis builders
Diffstat (limited to 'async.c')
-rw-r--r--async.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/async.c b/async.c
index 171fabd..e46573f 100644
--- a/async.c
+++ b/async.c
@@ -32,11 +32,8 @@
#include "fmacros.h"
#include <stdlib.h>
#include <string.h>
-#ifndef _WIN32
+#ifndef _MSC_VER
#include <strings.h>
-#else
-#define strcasecmp stricmp
-#define strncasecmp strnicmp
#endif
#include <assert.h>
#include <ctype.h>
@@ -46,6 +43,7 @@
#include "dict.c"
#include "sds.h"
#include "sslio.h"
+#include "win32.h"
#define _EL_ADD_READ(ctx) \
do { \