On Fri, 29 Oct 2004 22:51:53 -0500 Andy wrote:
AS> Robert Story (Coders) wrote:
AS> > Uhhh, are you sure? the patch you sent (ifdef WIN32) would break all the
AS> > other platforms!  Didn't the patch I sent (!defined(WIN32) &&
AS> > !defined(mingw32)) work for you? Looking at configure a little harder,
AS> > you may need to add!defined(mingw32msvc) as well...  
AS> 
AS> Yes, I attached the wrong patch, that was the first attempt. It should be:
AS> 
AS> #ifndef WIN32

I'm still dubious..

AS> but in mingw32msvc.h I define mingw32 for consistency [...]. But as for 
AS> the patch #ifndef WIN32 works.

Are you sure? Because the module processing code doesn't include the net-snmp
system headers. The only way the #ifndef WIN32 would work is if the compiler
defined it internally, because it's not coming from the command line. And if
that's the case, then the configure patch isn't needed, and the interfaces.h
patch should suffice.

-- 
Robert Story; NET-SNMP Junkie <http://www.net-snmp.org/>
<irc://irc.freenode.net/#net-snmp>
Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-coders>

You are lost in a twisty maze of little standards, all different. 


-------------------------------------------------------
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