Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src/xdiff
diff options
context:
space:
mode:
authorSven Strickroth <email@cs-ware.de>2012-04-21 20:45:32 +0400
committerSven Strickroth <email@cs-ware.de>2012-04-21 20:45:32 +0400
commit8c327228fdb0bcf130961362b14fec0e9a63c89a (patch)
tree56cccb01b27895de1fee64d9d63d140fdde039de /src/xdiff
parentc02f13925a0eb61ee3b4806e52aeac4d6cd38021 (diff)
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 69a4bc1988fc242bd0d310781c865cce5481a0e6. Signed-off-by: Sven Strickroth <email@cs-ware.de>
Diffstat (limited to 'src/xdiff')
-rw-r--r--src/xdiff/xinclude.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xdiff/xinclude.h b/src/xdiff/xinclude.h
index 7d7b77b3e..4a1cde909 100644
--- a/src/xdiff/xinclude.h
+++ b/src/xdiff/xinclude.h
@@ -29,7 +29,7 @@
#include <string.h>
#include <limits.h>
-#ifdef GIT_WIN32
+#ifdef _WIN32
#else
#include <unistd.h>
#endif