From: tom fogal Date: Tue, 18 Aug 2009 05:06:16 GMT Subject: Re: [PATCH 04/11] Add _MSC_VER predefine macro to make same behaviors with __MINGW32__ Enable MSVC build. MSVC have the save behaviors with msysgit. Message-ID: In-Reply-To: <1976ea660908171829se49abf0j5b7d45a74e4c67a7@mail.gmail.com> Frank Li writes: > > > > Test whether WIN32 is defined rather than __MINGW32__ > > I think WIN32 is better, how about 64bit build case? > In 64bit environment, VC define WIN64 not WIN32. Actually, "_WIN32" is always defined using `cl', even in 64bit mode. 64bit compilation additionally defines "_WIN64", FWIW. -tom