Merge pull request #447 from csware/fix-win64-build fix build for x64
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