mirror of
https://github.com/cesanta/mongoose.git
synced 2024-12-26 22:41:03 +08:00
Adopt arch_freertos.h for CCRH compiler
This commit is contained in:
parent
a0f33aebf7
commit
943e1c5f77
@ -179,12 +179,13 @@ extern "C" {
|
|||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h> // rand(), strtol(), atoi()
|
#include <stdlib.h> // rand(), strtol(), atoi()
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#if defined(__ARMCC_VERSION)
|
#if defined(__ARMCC_VERSION)
|
||||||
#define mode_t size_t
|
#define mode_t size_t
|
||||||
#include <time.h>
|
|
||||||
#include <alloca.h>
|
#include <alloca.h>
|
||||||
|
#include <time.h>
|
||||||
|
#elif defined(__CCRH__)
|
||||||
#else
|
#else
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#endif
|
#endif
|
||||||
|
@ -11,12 +11,13 @@
|
|||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h> // rand(), strtol(), atoi()
|
#include <stdlib.h> // rand(), strtol(), atoi()
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#if defined(__ARMCC_VERSION)
|
#if defined(__ARMCC_VERSION)
|
||||||
#define mode_t size_t
|
#define mode_t size_t
|
||||||
#include <time.h>
|
|
||||||
#include <alloca.h>
|
#include <alloca.h>
|
||||||
|
#include <time.h>
|
||||||
|
#elif defined(__CCRH__)
|
||||||
#else
|
#else
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user