Permalink
Browse files

Check for _WIN32 is sufficient, even for x64 compilers

There is no need to check for _WIN32 and _WIN64. x64 compiler also set _WIN32 (compare http://sourceforge.net/apps/mediawiki/predef/index.php?title=Operating_Systems#Windows).

Signed-off-by: Sven Strickroth <email@cs-ware.de>
  • Loading branch information...
1 parent 69a4bc1 commit c02f13925a0eb61ee3b4806e52aeac4d6cd38021 @csware committed Apr 21, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 include/git2/common.h
View
@@ -51,7 +51,7 @@
# define GIT_FORMAT_PRINTF(a,b) /* empty */
#endif
-#if (defined(_WIN32) || defined(_WIN64)) && !defined(__CYGWIN__)
+#if (defined(_WIN32)) && !defined(__CYGWIN__)
#define GIT_WIN32 1
#endif

0 comments on commit c02f139

Please sign in to comment.