Commit 5a1d2b2a1792b5ad5d3fcb0561fc58b04523ecbc

Vicent Martí 2011-10-08T21:18:09

Merge pull request #447 from csware/fix-win64-build fix build for x64

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