summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authornetchild <netchild@FreeBSD.org>2005-10-05 17:21:09 +0000
committernetchild <netchild@FreeBSD.org>2005-10-05 17:21:09 +0000
commitd42a195dffe6554b8116a646f2a0756b5101bba4 (patch)
tree2276e40cfc951c4d38346580e0b1053d065a5334 /sys
parentebda350f0af3ecb21e866c148b944c694e0dd4b1 (diff)
downloadFreeBSD-src-d42a195dffe6554b8116a646f2a0756b5101bba4.zip
FreeBSD-src-d42a195dffe6554b8116a646f2a0756b5101bba4.tar.gz
Don't use the builtin vaalist for icc.
Submitted by: Igor Sysoev <is@rambler-co.ru> MFC after: 3 days
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/cdefs.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/sys/sys/cdefs.h b/sys/sys/cdefs.h
index fa5dc44..36047fb 100644
--- a/sys/sys/cdefs.h
+++ b/sys/sys/cdefs.h
@@ -74,19 +74,16 @@
# undef __GNUCLIKE_BUILTIN_CONSTANT_P
# endif
-#if __GNUC_MINOR__ > 95 || __GNUC__ >= 3 || defined(__INTEL_COMPILER)
+#if (__GNUC_MINOR__ > 95 || __GNUC__ >= 3) && !defined(__INTEL_COMPILER)
# define __GNUCLIKE_BUILTIN_VARARGS 1
+# define __GNUCLIKE_BUILTIN_STDARG 1
+# define __GNUCLIKE_BUILTIN_VAALIST 1
#endif
-#define __GNUCLIKE_BUILTIN_VAALIST 1
#if defined(__GNUC__)
# define __GNUC_VA_LIST_COMPATIBILITY 1
#endif
-#if (__GNUC_MINOR__ > 95 || __GNUC__ >= 3) && !defined(__INTEL_COMPILER)
-# define __GNUCLIKE_BUILTIN_STDARG 1
-#endif
-
#ifndef __INTEL_COMPILER
# define __GNUCLIKE_BUILTIN_NEXT_ARG 1
# define __GNUCLIKE_MATH_BUILTIN_RELOPS
OpenPOWER on IntegriCloud