diff options
Diffstat (limited to 'source3/tdb')
-rw-r--r-- | source3/tdb/tdb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/tdb/tdb.h b/source3/tdb/tdb.h index 153b6e9923..901d470a50 100644 --- a/source3/tdb/tdb.h +++ b/source3/tdb/tdb.h @@ -36,7 +36,7 @@ extern "C" { * the parameter containing the format, and a2 the index of the first * argument. Note that some gcc 2.x versions don't handle this * properly **/ -#if (__GNUC__ >= 3) +#if (__GNUC__ >= 3) && (__GNUC_MINOR__ >= 1 ) #define PRINTF_ATTRIBUTE(a1, a2) __attribute__ ((format (__printf__, a1, a2))) #else #define PRINTF_ATTRIBUTE(a1, a2) |