Fix formating to cc.h, add stdbool.h detection
| | |
| | | #define HAVE_STRTOF 1 |
| | | #endif |
| | | |
| | | #if _ISOC99_SOURCE || C99 |
| | | #define HAVE_STDBOOL 1 |
| | | #endif |
| | | |
| | | /* Compiler specific */ |
| | | /* RealView/Keil ARM Compiler, e.g. Cortex-M CPUs */ |
| | | #if defined(__CC_ARM) |
| | |
| | | /* National Instruments (R) CVI x86/x64 PC platform */ |
| | | #if defined(_CVI_) |
| | | #define HAVE_STRNICMP 1 |
| | | #define HAVE_STDBOOL 0 |
| | | #endif |
| | | |
| | | /* 8bit PIC - PIC16, etc */ |
| | |
| | | #define HAVE_DTOSTRE 1 |
| | | #endif |
| | | |
| | | /* default values */ |
| | | #ifndef HAVE_STRNLEN |
| | | #define HAVE_STRNLEN 0 |
| | | #endif |
| | |
| | | #endif |
| | | |
| | | #ifndef HAVE_STDBOOL |
| | | #define HAVE_STDBOOL 1 |
| | | #define HAVE_STDBOOL 0 |
| | | #endif |
| | | |
| | | #ifndef HAVE_SNPRINTF |
| | |
| | | #define HAVE_ISFINITE 0 |
| | | #endif |
| | | |
| | | #ifndef HAVE_FINITE |
| | | #define HAVE_FINITE 0 |
| | | #endif |
| | | |
| | | #ifndef HAVE_SIGNBIT |
| | | #define HAVE_SIGNBIT 0 |
| | | #endif |