summaryrefslogtreecommitdiff
path: root/include/git2/common.h
diff options
context:
space:
mode:
authorSven Strickroth <email@cs-ware.de>2012-04-21 18:43:10 +0200
committerSven Strickroth <email@cs-ware.de>2012-04-21 18:43:10 +0200
commitc02f13925a0eb61ee3b4806e52aeac4d6cd38021 (patch)
treee7d408b612b2636a7713e3d43d61839b1bd37c44 /include/git2/common.h
parent69a4bc1988fc242bd0d310781c865cce5481a0e6 (diff)
downloadlibgit2-c02f13925a0eb61ee3b4806e52aeac4d6cd38021.tar.gz
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>
Diffstat (limited to 'include/git2/common.h')
-rw-r--r--include/git2/common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/git2/common.h b/include/git2/common.h
index 170ef340d..a66f9c380 100644
--- a/include/git2/common.h
+++ b/include/git2/common.h
@@ -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