This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH GOLD] [6/N mingw host] Add support for not keeping the files open on execute


On 10/11/2009 07:53, Dave Korn wrote:
JonY wrote:

Does Cygwin define __MSVCRT__ too?

Nope(*); Cygwin doesn't support linking with MSVCRT, so it would be very wrong to define anything that suggested it was available.

     cheers,
       DaveK


Hi,


So "#if defined(_WIN32) && !defined(__CYGWIN__)" would effectively be equivalent to checking for __MSVCRT__ right?

I'm not sure if checking for __MSVCRT__ is entirely correct, are there other runtimes on Windows to take into consideration?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]