From 950d12498439903f790ae654eec090b4991ed01f Mon Sep 17 00:00:00 2001 From: Marius Strobl Date: Sun, 27 Feb 2005 11:17:19 +0000 Subject: MFC: 1.7 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. --- include/stdbool.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/stdbool.h b/include/stdbool.h index c0ce8bbeb8dc2..c0d6459cc029b 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 -- cgit v1.3