diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-07-13 10:22:13 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2005-07-13 10:22:13 +0000 |
commit | fae55c3ef14cf7b9ba5d9c89f33466070fac18dc (patch) | |
tree | dcbfe569275fff234ec604a3e284eaf47798b871 /source/lib/replace | |
parent | ef176e0568d66258879d2a4c9b58e7b1bc176cda (diff) | |
download | samba-fae55c3ef14cf7b9ba5d9c89f33466070fac18dc.tar.gz samba-fae55c3ef14cf7b9ba5d9c89f33466070fac18dc.tar.xz samba-fae55c3ef14cf7b9ba5d9c89f33466070fac18dc.zip |
r8417: fixed handling of PRINTF_ATTRIBUTE for heimdal portion of build
Diffstat (limited to 'source/lib/replace')
-rw-r--r-- | source/lib/replace/replace.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/lib/replace/replace.h b/source/lib/replace/replace.h index c7c343ef383..b67e629aa0d 100644 --- a/source/lib/replace/replace.h +++ b/source/lib/replace/replace.h @@ -112,7 +112,7 @@ typedef int (*comparison_fn_t)(const void *, const void *); #endif #ifndef PRINTF_ATTRIBUTE -#if (__GNUC__ >= 3) +#if !defined(NO_PRINTF_ATTRIBUTE) && (__GNUC__ >= 3) /** Use gcc attribute to check printf fns. a1 is the 1-based index of * the parameter containing the format, and a2 the index of the first * argument. Note that some gcc 2.x versions don't handle this |