[PATCH] windres (ungarbled): (6) always define _WIN32
Nick Clifton
nickc@cambridge.redhat.com
Tue Apr 9 10:18:00 GMT 2002
Hi Gunnar,
: _WIN32 is always defined in MS rc.exe, like RC_INVOKED. It
: means !_MAC. windres can use another preprocessor command
: without this define if needed.
:
: 2002-03-19 Gunnar Degnbol <degnbol@danbbs.dk>
:
: * resrc.c: Always define _WIN32
I have not applied this patch. I am not sure if always defining
_WIN32 is the right thing to do. I am not familiar with these tools,
but it seems to me that they might be used in a non Win32 environment
where defining _WIN32 would be wrong. Perhaps the patch should only
add _WIN32 if the target is a Cygwin/Ming32 environment ?
Cheers
Nick
More information about the Binutils
mailing list