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
This commit is contained in:
Marius Strobl 2005-02-19 13:46:40 +00:00
parent dfd4be14bd
commit b18fcf5ff2
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=142087

View File

@ -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