-----Original Message----- From: Brian Gladman
Sent: Wednesday, October 15, 2014 5:44 PM
To: mpir-devel@googlegroups.com
Subject: Re: [mpir-devel] __WIN64 and _LONG_LONG_LIMB

On 15/10/2014 03:06, Bill Hart wrote:
Ah, that explains it. Mingw uses __WIN64 not _WIN64.

With mingw.org compilers (which are still only 32-bit) neither _WIN64 nor __WIN64 are defined. (Checked against gcc-4.7.0.) With the 64-bit mingw-w64 compilers both _WIN64 and __WIN64 are defined. (Checked against gcc-4.8.2.) With the 32-bit mingw-w64 compilers neither _WIN64 nor __WIN64 are defined. (Checked against gcc-4.8.2.)

All of these compilers can be installed on 64-bit windows - the "64-bit mingw-w64" compiler produces 64-bit executables, the other two compilers produce 32-bit executables (all of which run on 64-bit Windows machines). For some other macros that these compilers define, see the "MinGW and MinGW-w64" section at
http://sourceforge.net/p/predef/wiki/Compilers/

I don't think __WIN64 is ever defined when using a Microsoft compiler.

Cheers,
Rob
--
You received this message because you are subscribed to the Google Groups 
"mpir-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mpir-devel+unsubscr...@googlegroups.com.
To post to this group, send email to mpir-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/mpir-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to