summaryrefslogtreecommitdiff
path: root/source3/lib/replace/replace.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-09-18 23:26:14 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:52:19 -0500
commit19cee7d0564265d14723007db6e02ff44351aa50 (patch)
treecf28477d530f3c9848df77b333283278b582e49e /source3/lib/replace/replace.h
parentb0c3ad39256dd78ff5c152afbfe3d8560e194060 (diff)
downloadsamba-19cee7d0564265d14723007db6e02ff44351aa50.tar.gz
samba-19cee7d0564265d14723007db6e02ff44351aa50.tar.bz2
samba-19cee7d0564265d14723007db6e02ff44351aa50.zip
r18649: the PRINTF_ATTRIUTE() macro is provided by libreplace
metze (This used to be commit dd76f4f5f374ec4822abbf1a09d26287926b92ce)
Diffstat (limited to 'source3/lib/replace/replace.h')
-rw-r--r--source3/lib/replace/replace.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/replace/replace.h b/source3/lib/replace/replace.h
index 7cdaaae689..688f08a51d 100644
--- a/source3/lib/replace/replace.h
+++ b/source3/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