Commit 7dbbf4d7 by Vicent Martí

Merge pull request #636 from csware/WIN32-fixes

Win32 fixes
parents 69a4bc19 8c327228
...@@ -51,7 +51,7 @@ ...@@ -51,7 +51,7 @@
# define GIT_FORMAT_PRINTF(a,b) /* empty */ # define GIT_FORMAT_PRINTF(a,b) /* empty */
#endif #endif
#if (defined(_WIN32) || defined(_WIN64)) && !defined(__CYGWIN__) #if (defined(_WIN32)) && !defined(__CYGWIN__)
#define GIT_WIN32 1 #define GIT_WIN32 1
#endif #endif
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
#include <string.h> #include <string.h>
#include <limits.h> #include <limits.h>
#ifdef GIT_WIN32 #ifdef _WIN32
#else #else
#include <unistd.h> #include <unistd.h>
#endif #endif
......
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