From b64944a543c4c64f117bd7fa8d573cb57794819c Mon Sep 17 00:00:00 2001 From: Alexander Leidinger Date: Wed, 5 Oct 2005 17:21:09 +0000 Subject: [PATCH] Don't use the builtin vaalist for icc. Submitted by: Igor Sysoev MFC after: 3 days --- sys/sys/cdefs.h | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/sys/sys/cdefs.h b/sys/sys/cdefs.h index fa5dc4484161..36047fbe3099 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