Interesting. I was under the assumption that the build environment added it at compile time. I know that you have to add WIN32 explicitly with Cygwin, or at least that has been my experience. I have never delved too deeply into the internals of MinGW, but I do know that using WIN32 in #ifdef blocks has always "Just Worked" when I have ported other apps. At any rate I would like for someone else to confirm or denounce the patch so that we don't end up with a broken MinGW build in a release version.

Andy

Alex Burger wrote:

The MSVC Makefiles and .dsp files define WIN32 on the compiler command line. Removing the WIN32 definition from the properties of a test project resulted in WIN32 NOT being defined. This means it is not defined internally, but is added by default to new projects. It *is* defined in the Net-SNMP Makefiles and .dsp files for MSVC.

Alex


------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Net-snmp-coders mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders



-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
Net-snmp-coders mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to