[krbdev.mit.edu #8641] git commit

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[krbdev.mit.edu #8641] git commit

Greg Hudson via RT-2

Make public headers work with gcc -Wundef

The C standard allows undefined symbols in #if statements, giving them
the value 0 (C99 section 6.10.1).  However, some software builds with
gcc -Wundef, which issues a warning on undefined symbols in
preprocessor expressions.  Make the public headers safe for that
environment by using #ifdef instead of #if for TARGET_OS_MAC.
Reported by Ben Kaduk.

https://github.com/krb5/krb5/commit/4737a11fbb746519bb7cbd040546f799fbfb3a0f
Author: Greg Hudson <[hidden email]>
Commit: 4737a11fbb746519bb7cbd040546f799fbfb3a0f
Branch: master
 src/include/krb5/krb5.hin         |    4 ++--
 src/lib/gssapi/generic/gssapi.hin |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

_______________________________________________
krb5-bugs mailing list
[hidden email]
https://mailman.mit.edu/mailman/listinfo/krb5-bugs