Commit 8c327228 by Sven Strickroth

Check for _WIN32 instead of GIT_WIN32 or WIN32 to detect windows build environments

This fixes a possible compilation issue (when GIT_WIN32 was not set) which was introduced in revision 69a4bc19.

Signed-off-by: Sven Strickroth <email@cs-ware.de>
parent c02f1392
...@@ -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