[krbdev.mit.edu #5601] win-mac.h "leaks" defines

Ken Raeburn via RT rt at krbdev.mit.edu
Wed Sep 19 04:21:19 EDT 2007


On Sep 19, 2007, at 00:54, Jeffrey Altman via RT wrote:
> I would not be opposed to removal of #defines such as:
[...]
> provided that they continue to be defined when building the krb5
> libraries.

Sure -- they belong in the windows version of autoconf.h, which would  
then no longer be just a copy of win-mac.h.  That's where we define  
such macros for the other platforms, and that's where our code (at  
least, the UNIX code) looks for them.

Actually, some of them should probably just go away altogether  
because we require certain things, like the existence of "void" and  
<stdarg.h> and strerror().  It wouldn't hurt for us to come up with a  
list of just what we're requiring, at least whatever's not required  
by C90.

Ken



More information about the krb5-bugs mailing list