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.
- From
tom fogal <tfogal@alumni.unh.edu>
- Date
- Aug 18, 2009, 05:06 UTC
- Message-ID
- <auto-000020259481@sci.utah.edu>
- In-Reply-To
- <1976ea660908171829se49abf0j5b7d45a74e4c67a7@mail.gmail.com>
Frank Li <lznuaa@gmail.com> writes:
Show 5 quoted lines
> > > > 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