Re: INTERFACE definitions
"Martin Fuchs" <[email protected]> Wed, 10 Mar 2004 10:35:55 +0100
| Newsgroups | gmane.comp.gnu.mingw.patches |
|---|---|
| Message-ID | <[email protected]> |
Once again to the INTERFACE macro issue. What sort of patch would you like to see more: a.) - one "#undef INTERFACE" at the begin of any file using the macro - #undef after each INTERFACE usage b.) - #undef before each INTERFACE usage - one "#undef INTERFACE" at the end of any file using the macro c.) - only #undef after each INTERFACE usage All three possibilities are guarantie, there is no INTERFACE macro defined after including MinGW headers. a.) is what I would prefer. Solution b.) is more like MS headers. Just an #undef more at the file ends. SOlution c.) is a littlie bit less secure since you must not define INTERFACE _before_ including MinGW headers. Regards, Martin ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click