[this shouldn't have been a private conversation to begin with, but it
was so I'll move it to -coders where it should be.  Topic: my recent
changes to configure and the inclusion of the system/*.h headers.]

>>>>> "TA" == Thomas Anders <[EMAIL PROTECTED]> writes:

TA> +      echo "#undef $PARTIALTARGETOS" >> module_tmp_header.h
TA> +      echo "#define $PARTIALTARGETOS $PARTIALTARGETOS" >>
TA> module_tmp_header.h

TA> will not always be enough. Some system headers (e.g. freebsd*.h)
TA> [recursively] include others which #define something else; and hpux.h
TA> #defines hp-ux and so on.

I'd rather still try to go down this line as it seems to be the
cleanest, IMHO.  I'd propose that in the system .h files we should
require defining the os definitions in the same way...  IE,

  #define osf4

is in there now but I think it should be:

  #define osf4 osf4

This seems much safer in general and I'm actually amazed we haven't
been bitten by this bug yet anyway (you'd think function names, etc,
would have hit this at some point already)

-- 
"In the bathtub of history the truth is harder to hold than the soap,
 and much more difficult to find."  -- Terry Pratchett

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to