mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-20 19:41:58 +00:00
Adopt arch_freertos.h for CCRH compiler
This commit is contained in:
1 parent
a0f33aebf7
commit
943e1c5f77
2 files changed
+6
-4
No files matched your search
+3
-2
@@ -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
|
||||||
|
|||||||
+3
-2
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user