caribou rtos includes

This commit is contained in:
Mike Sharkey
2021-02-12 23:09:08 -05:00
parent 324a6ac9a9
commit 4ddc4c0530
2 changed files with 21 additions and 8 deletions

22
cJSON.c
View File

@@ -37,13 +37,21 @@
#pragma warning (disable : 4001)
#endif
#include <string.h>
#include <stdio.h>
#include <math.h>
#include <stdlib.h>
#include <limits.h>
#include <ctype.h>
#include <float.h>
#if defined(_CARIBOU_RTOS_)
#include <caribou/string.h>
#include <caribou/stdio.h>
#include <caribou/stddef.h>
#include <caribou/stdint.h>
#include <math.h>
#else
#include <string.h>
#include <stdio.h>
#include <math.h>
#include <stdlib.h>
#include <limits.h>
#include <ctype.h>
#include <float.h>
#endif
#ifdef ENABLE_LOCALES
#include <locale.h>

View File

@@ -83,7 +83,12 @@ then using the CJSON_API_VISIBILITY flag to "export" the same symbols the way CJ
#define CJSON_VERSION_MINOR 7
#define CJSON_VERSION_PATCH 14
#include <stddef.h>
#if defined(_CARIBOU_RTOS_)
#include <caribou/stdint.h>
#include <caribou/stddef.h>
#else
#include <stddef.h>
#endif
/* cJSON Types: */
#define cJSON_Invalid (0)