From 88e29e11393bb1abd3297607ff94a68ad2997249 Mon Sep 17 00:00:00 2001 From: Marius Strobl Date: Sat, 19 Feb 2005 13:47:33 +0000 Subject: [PATCH] The Intel C/C++ compiler doesn't require a typedef for _Bool when compiling C source so don't declare one when using the GCC-compatibility (defaulting to GCC 2.95.0) of ICC. Submitted by: netchild MFC after: 1 week --- include/stdbool.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/stdbool.h b/include/stdbool.h index c0ce8bbeb8dc..c0d6459cc029 100644 --- a/include/stdbool.h +++ b/include/stdbool.h @@ -37,7 +37,7 @@ #define true 1 #define bool _Bool -#if __STDC_VERSION__ < 199901L && __GNUC__ < 3 +#if __STDC_VERSION__ < 199901L && __GNUC__ < 3 && !defined(__INTEL_COMPILER) typedef int _Bool; #endif