mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-25 12:04:47 +00:00
change mongoose_custom for Keil
This commit is contained in:
1 parent
0d2ae10bd9
commit
677fea7bfa
17 files changed
+448
-770
No files matched your search
+1
-5
@@ -34,16 +34,12 @@
|
||||
#define MG_ARCH MG_ARCH_AZURERTOS
|
||||
#elif defined(PICO_TARGET_NAME)
|
||||
#define MG_ARCH MG_ARCH_RP2040
|
||||
#elif defined(__ARMCC_VERSION)
|
||||
#define MG_ARCH MG_ARCH_ARMCC
|
||||
#elif defined(__RTTHREAD__)
|
||||
#define MG_ARCH MG_ARCH_RTTHREAD
|
||||
#endif
|
||||
#endif // !defined(MG_ARCH)
|
||||
|
||||
// if the user did not specify an MG_ARCH, or specified a custom one, OR
|
||||
// we guessed a known IDE, pull the customized config (Configuration Wizard)
|
||||
#if !defined(MG_ARCH) || (MG_ARCH == MG_ARCH_CUSTOM) || MG_ARCH == MG_ARCH_ARMCC
|
||||
#if !defined(MG_ARCH) || (MG_ARCH == MG_ARCH_CUSTOM)
|
||||
#include "mongoose_custom.h" // keep this include
|
||||
#endif
|
||||
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
#if defined(__ARMCC_VERSION)
|
||||
#define mode_t size_t
|
||||
#include <time.h>
|
||||
#include <alloca.h>
|
||||
#else
|
||||
#include <sys/stat.h>
|
||||
#endif
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <alloca.h>
|
||||
#include <string.h>
|
||||
#include <time.h>
|
||||
#if MG_ARCH == MG_ARCH_CMSIS_RTOS1
|
||||
|
||||
Reference in new issue
Block a user