diff options
author | tzickel <private@com> | 2015-03-13 15:58:23 +0200 |
---|---|---|
committer | tzickel <private@com> | 2015-03-13 15:58:23 +0200 |
commit | ec229678c22e673e8d48070593f7b028a514882a (patch) | |
tree | 66a7d2fa7af15987b87b2a0542289f00f3a94493 /read.c | |
parent | 37c06facda57af9bad68f50c18edfa22d6ef76f7 (diff) |
Added support for compiling the parser code with Microsoft Visual C compiler.
For hiredis-py and others support on windows.
Diffstat (limited to 'read.c')
-rw-r--r-- | read.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -33,7 +33,9 @@ #include "fmacros.h" #include <string.h> #include <stdlib.h> +#ifndef _MSC_VER #include <unistd.h> +#endif #include <assert.h> #include <errno.h> #include <ctype.h> |