mirror of
https://github.com/DaveGamble/cJSON.git
synced 2023-08-10 21:13:26 +03:00
caribou rtos includes
This commit is contained in:
22
cJSON.c
22
cJSON.c
@@ -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>
|
||||
|
||||
7
cJSON.h
7
cJSON.h
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user