>>>>> On Tue, 30 Mar 2010 21:32:57 +0200, Magnus Fromreide 
>>>>> <[email protected]> said:

MF> b) I would probably prefer the following since it makes sense to use
MF> a well known name and this define is located in an implementation
MF> file.

MF> #ifndef INT32_MAX
MF> #define INT32_MAX 0x7fffffff
MF> #endif

There is even precedence for it.  See line 198 of snmplib/asn1.c.

I actually wonder if we should move that sort of thing to
include/net-snmp/types.h instead.
-- 
Wes Hardaker
Please mail all replies to [email protected]

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to