Commit 314f54eb0644a7af3f9fa88262b6c3b36104a3de

Sven Strickroth 2011-10-09T05:29:57

fix build for x64 Signed-off-by: Sven Strickroth <email@cs-ware.de>

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/include/git2/common.h b/include/git2/common.h
index a004be9..ef279ea 100644
--- a/include/git2/common.h
+++ b/include/git2/common.h
@@ -64,7 +64,7 @@
 # define GIT_FORMAT_PRINTF(a,b) /* empty */
 #endif
 
-#if defined(_WIN32) && !defined(__CYGWIN__)
+#if (defined(_WIN32) || defined(_WIN64)) && !defined(__CYGWIN__)
 #define GIT_WIN32 1
 #endif