This is the mail archive of the binutils@sources.redhat.com 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] windres (ungarbled): (6) always define _WIN32


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



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