This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [patch bfd]: Add further support for x86_64 mingw
- From: Brian Dessent <brian at dessent dot net>
- To: Kai Tietz <Kai dot Tietz at onevision dot com>
- Cc: Binutils <binutils at sourceware dot org>
- Date: Tue, 22 Jan 2008 07:53:49 -0800
- Subject: Re: [patch bfd]: Add further support for x86_64 mingw
- References: <OF0B82E337.C3540320-ONC12573D8.0055A4ED-C12573D8.0056463F@onevision.de>
- Reply-to: Binutils <binutils at sourceware dot org>
Kai Tietz wrote:
> AFAIK doesn't cygwin define _WIN32. I checked current gcc sources and
> didn't saw it for cgywin, just for mingw32. The __MSVCRT__ would be an
> alternative, for sure. But isn't the macro _WIN32 just the API we use?
Correct, Cygwin does not normally define _WIN32 but if you #include
<windows.h> it gets defined there too... it's not a common scenario
since the goal of Cygwin is not to use Windowsisms, but you can still do
it if you need access to something in the w32api and there's no POSIX
analog.
Brian