This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin 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: setup (ini.cc) vs CVS mingw-runtime


> Ergo, this will be a problem when the next mingw-runtime comes out.
> 
> Danny, if you have a patch for either mingw or setup, that'd be great.
> Does what you are suggesting impose any limitations on setup ?
> 

Probably simplest (for per-file override of _CRTIMP) is just to add

#define _CRTIMP

before including any other header.

My preference, however, is to #define _CRTIMP as nothing by default in
_mingw.h,
thus reverting to old behaviour.  And then add another condition like,
#if __USE_CRTIMP, to enable it.

Danny


http://mobile.yahoo.com.au - Yahoo! Mobile
- Check & compose your email via SMS on your Telstra or Vodafone mobile.


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