Azure IoT common library
Dependents: STM32F746_iothub_client_sample_mqtt f767zi_mqtt iothub_client_sample_amqp iothub_client_sample_http ... more
Diff: azure_c_shared_utility/crt_abstractions.h
- Revision:
- 42:0cc3c211ad26
- Parent:
- 35:98add15351f3
- Child:
- 48:81866008bba4
--- a/azure_c_shared_utility/crt_abstractions.h Mon Mar 05 17:43:09 2018 -0800 +++ b/azure_c_shared_utility/crt_abstractions.h Tue Mar 20 10:31:23 2018 -0700 @@ -50,8 +50,8 @@ #else // __cplusplus typedef unsigned char bool; -#define false 0 -#define true 1 +#define false 0 +#define true 1 #endif // __cplusplus #endif // _WIN32_WCE @@ -83,7 +83,6 @@ /* Codes_SRS_CRT_ABSTRACTIONS_99_002: [CRTAbstractions module shall expose the following API]*/ #ifdef _MSC_VER #else // _MSC_VER -#include "inttypes.h" /* Adding definitions from errno.h & crtdefs.h */ #if !defined (_TRUNCATE) @@ -144,25 +143,6 @@ #endif // __STDC_VERSION__ #endif // _MSC_VER -#ifdef _MSC_VER -#define INT64_PRINTF "%I64d" -#else -#if defined __STDC_VERSION__ -#if ((__STDC_VERSION__ == 199901L) || (__STDC_VERSION__ == 201000L) || (__STDC_VERSION__ == 201112L)) -/*C99 compiler or C11*/ -#define INT64_PRINTF "%" PRId64 "" -#else // ((__STDC_VERSION__ == 199901L) || (__STDC_VERSION__ == 201000L) || (__STDC_VERSION__ == 201112L)) -#error update this file to contain the latest C standard. -#endif // ((__STDC_VERSION__ == 199901L) || (__STDC_VERSION__ == 201000L) || (__STDC_VERSION__ == 201112L)) -#else // __STDC_VERSION__ -#ifdef __cplusplus -#define INT64_PRINTF "%" PRId64 "" -#else // __cplusplus -#error unknown (or C89) compiler, provide INT64_PRINTF with the same meaning as PRIdN in C99 standard -#endif // __cplusplus -#endif // __STDC_VERSION__ -#endif // _MSC_VER - #ifdef __cplusplus } #endif // __cplusplus