[prev in list] [next in list] [prev in thread] [next in thread] 

List:       net-snmp-bugs
Subject:    [ net-snmp-Bugs-423232 ] Suggest WIN32 define for Borland C++
From:       noreply () sourceforge ! net
Date:       2001-05-20 11:23:02
[Download RAW message or body]

Bugs item #423232, was updated on 2001-05-10 22:50
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=112694&aid=423232&group_id=12694

Category: library
Group: None
>Status: Closed
Resolution: None
Priority: 5
Submitted By: Peter Payne (time)
Assigned to: Nobody/Anonymous (nobody)
Summary: Suggest WIN32 define for Borland C++

Initial Comment:
In config.h (and the mirror file ucd-snmp-config.h) 
suggest adding somewhere:

#ifdef __WIN32__
#ifndef WIN32
#define WIN32
#endif /* WIN32 */
#endif /* __WIN32__ */

This will pick up __WIN32__ which is defined by the 
Borland C++ compiler, enabling compiling on both 
Borland C++ and Visual C++.

Cheers,
Peter


----------------------------------------------------------------------

>Comment By: John Naylon (jbpn)
Date: 2001-05-20 04:23

Message:
Logged In: YES 
user_id=93926

Thanks for the patch!

----------------------------------------------------------------------

Comment By: Peter Payne (time)
Date: 2001-05-14 17:29

Message:
Logged In: YES 
user_id=216900

Submitted patch.

----------------------------------------------------------------------

Comment By: John Naylon (jbpn)
Date: 2001-05-11 07:50

Message:
Logged In: YES 
user_id=93926

If you could supply a patch which you have tested, that
would be really helpful.  Not many of the developers compile
for Win32 at all, let alone with Borland C++.

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=112694&aid=423232&group_id=12694

_______________________________________________
Net-snmp-bugs mailing list
Net-snmp-bugs@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/net-snmp-bugs

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic