summaryrefslogtreecommitdiff
path: root/sds.h
diff options
context:
space:
mode:
authortzickel <private@com>2015-03-13 15:58:23 +0200
committertzickel <private@com>2015-03-13 15:58:23 +0200
commitec229678c22e673e8d48070593f7b028a514882a (patch)
tree66a7d2fa7af15987b87b2a0542289f00f3a94493 /sds.h
parent37c06facda57af9bad68f50c18edfa22d6ef76f7 (diff)
Added support for compiling the parser code with Microsoft Visual C compiler.
For hiredis-py and others support on windows.
Diffstat (limited to 'sds.h')
-rw-r--r--sds.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sds.h b/sds.h
index b53f24d..19a2abd 100644
--- a/sds.h
+++ b/sds.h
@@ -35,6 +35,9 @@
#include <sys/types.h>
#include <stdarg.h>
+#ifdef _MSC_VER
+#include "win32.h"
+#endif
typedef char *sds;