X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=win32%2Fstdbool.h;h=3f4a67bd48e7e278021031a38ae1480cd35e3664;hb=f109471af0f1a95e840a66c9e136409d0973021c;hp=c009a54c5cb10307b55454f5aadb70ef54ef9ed3;hpb=5e2512551793296b59bb85327620ad0f390fce41;p=cparser diff --git a/win32/stdbool.h b/win32/stdbool.h index c009a54..3f4a67b 100644 --- a/win32/stdbool.h +++ b/win32/stdbool.h @@ -7,10 +7,17 @@ #ifndef __cplusplus +#ifdef __INTEL_COMPILER +#define bool _Bool +#define true ((_Bool)1) +#define false ((_Bool)0) +#else + #define bool int #define true 1 #define false 0 +#endif #endif /* __cplusplus */ #endif /* stdbool.h */