summaryrefslogtreecommitdiff
path: root/source/include
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-04-24 22:50:19 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:04:20 -0500
commit6598efc6b302984d0b26b0c76a4b7107f5feba21 (patch)
treea7dd10a8089ee804466b92e2fa3ecd3da2e10ec4 /source/include
parent2fbb4d91fa580ccb64e36f0b082f23af33123b13 (diff)
downloadsamba-6598efc6b302984d0b26b0c76a4b7107f5feba21.tar.gz
r15224: Check whether -MT is actually supported by the compiler before using
automatic dependencies
Diffstat (limited to 'source/include')
-rw-r--r--source/include/includes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/include/includes.h b/source/include/includes.h
index 77f0b020102..6252a59c2f6 100644
--- a/source/include/includes.h
+++ b/source/include/includes.h
@@ -45,7 +45,7 @@
#endif
#ifndef PRINTF_ATTRIBUTE
-#if !defined(NO_PRINTF_ATTRIBUTE) && (__GNUC__ >= 3)
+#if __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