Adopt arch_freertos.h for CCRH compiler

This commit is contained in:
Sergey Lyubka committed 2024-02-26 12:05:35 +00:00
1 parent a0f33aebf7
commit 943e1c5f77
2 files changed
+6 -4

No files matched your search

+3 -2
View File
@@ -179,12 +179,13 @@ extern "C" {
#include <stddef.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h> // rand(), strtol(), atoi()
#include <stdlib.h> // rand(), strtol(), atoi()
#include <string.h>
#if defined(__ARMCC_VERSION)
#define mode_t size_t
#include <time.h>
#include <alloca.h>
#include <time.h>
#elif defined(__CCRH__)
#else
#include <sys/stat.h>
#endif
+3 -2
View File
@@ -11,12 +11,13 @@
#include <stddef.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h> // rand(), strtol(), atoi()
#include <stdlib.h> // rand(), strtol(), atoi()
#include <string.h>
#if defined(__ARMCC_VERSION)
#define mode_t size_t
#include <time.h>
#include <alloca.h>
#include <time.h>
#elif defined(__CCRH__)
#else
#include <sys/stat.h>
#endif