diff options
author | marius <marius@FreeBSD.org> | 2005-02-19 13:46:40 +0000 |
---|---|---|
committer | marius <marius@FreeBSD.org> | 2005-02-19 13:46:40 +0000 |
commit | 63e23f028ec6c69702a3d74bcd09618526ffcc7a (patch) | |
tree | 57927a48d540f63a2adfc8eaa34fca3ef25b6caf /sys/i386/include/_types.h | |
parent | 66dfd6396149e353342cd31080e6b88469aec335 (diff) | |
download | FreeBSD-src-63e23f028ec6c69702a3d74bcd09618526ffcc7a.zip FreeBSD-src-63e23f028ec6c69702a3d74bcd09618526ffcc7a.tar.gz |
Together with the changes to compile kernels with the Intel C/C++ compiler
preliminary support for using the GCC-compatibility of ICC was committed
but couldn't be tested at that time due to problems with ICC itself. Since
ICC 8.1 it's possible to use its GCC-compatibility under FreeBSD and it
turned out that a typedef for __gnuc_va_list is required in that case.
Revert the part of rev. 1.8 which #ifdef'ed out __gnuc_va_list for ICC.
MFC after: 1 week
Diffstat (limited to 'sys/i386/include/_types.h')
-rw-r--r-- | sys/i386/include/_types.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/i386/include/_types.h b/sys/i386/include/_types.h index aa240d0..9884c83 100644 --- a/sys/i386/include/_types.h +++ b/sys/i386/include/_types.h @@ -119,7 +119,7 @@ typedef __builtin_va_list __va_list; /* internally known to gcc */ #else typedef char * __va_list; #endif /* ! (__GNUC__ post 2.95 || __INTEL_COMPILER) */ -#if defined(__GNUC__) && !defined(__INTEL_COMPILER) && !defined(__GNUC_VA_LIST) && !defined(__NO_GNUC_VA_LIST) +#if defined(__GNUC__) && !defined(__GNUC_VA_LIST) && !defined(__NO_GNUC_VA_LIST) #define __GNUC_VA_LIST typedef __va_list __gnuc_va_list; /* compatibility w/GNU headers*/ #endif |