Commit c02f1392 by Sven Strickroth

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>
parent 69a4bc19
...@@ -51,7 +51,7 @@ ...@@ -51,7 +51,7 @@
# define GIT_FORMAT_PRINTF(a,b) /* empty */ # define GIT_FORMAT_PRINTF(a,b) /* empty */
#endif #endif
#if (defined(_WIN32) || defined(_WIN64)) && !defined(__CYGWIN__) #if (defined(_WIN32)) && !defined(__CYGWIN__)
#define GIT_WIN32 1 #define GIT_WIN32 1
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment