]> git.proxmox.com Git - libgit2.git/commitdiff
Check for _WIN32 instead of GIT_WIN32 or WIN32 to detect windows build environments
authorSven Strickroth <email@cs-ware.de>
Sat, 21 Apr 2012 16:45:32 +0000 (18:45 +0200)
committerSven Strickroth <email@cs-ware.de>
Sat, 21 Apr 2012 16:45:32 +0000 (18:45 +0200)
This fixes a possible compilation issue (when GIT_WIN32 was not set) which was introduced in revision 69a4bc1988fc242bd0d310781c865cce5481a0e6.

Signed-off-by: Sven Strickroth <email@cs-ware.de>
src/xdiff/xinclude.h

index 7d7b77b3ea49ffc220951aa171751a9f05e904b6..4a1cde9092bcf36046b997eb7db337a48d46b5dd 100644 (file)
@@ -29,7 +29,7 @@
 #include <string.h>
 #include <limits.h>
 
-#ifdef GIT_WIN32
+#ifdef _WIN32
 #else
 #include <unistd.h>
 #endif