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
This commit is contained in:
parent
b18fcf5ff2
commit
88e29e1139
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=142088
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user