summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-09-19 03:48:31 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:19:01 -0500
commit550495b6f9af22c47b7fd336e08f1a8eac4534ec (patch)
tree3462173ef3d0a905d222449372b47fbbf146b356 /source4/lib
parent906a74040adb1f911c651168fadbbd2e248b7cc1 (diff)
downloadsamba-550495b6f9af22c47b7fd336e08f1a8eac4534ec.tar.gz
samba-550495b6f9af22c47b7fd336e08f1a8eac4534ec.tar.bz2
samba-550495b6f9af22c47b7fd336e08f1a8eac4534ec.zip
r18674: merge from samba3,
PRINTF_ATTRIBUTE seems to not work with gcc 3.0 metze (This used to be commit dfb9bfba943bb4954101e7e02fa5a68046817162)
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/replace/replace.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/replace/replace.h b/source4/lib/replace/replace.h
index 7cdaaae689..688f08a51d 100644
--- a/source4/lib/replace/replace.h
+++ b/source4/lib/replace/replace.h
@@ -207,7 +207,7 @@ int rep_dlclose(void *handle);
#ifndef PRINTF_ATTRIBUTE
-#if __GNUC__ >= 3
+#if (__GNUC__ >= 3) && (__GNUC_MINOR__ >= 1 )
/** 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