mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-29 21:08:24 +00:00
3 files changed
+40
No files matched your search
+20
@@ -42,6 +42,7 @@ extern "C" {
|
|||||||
#define MG_ARCH_ARMCC 12 // Keil MDK-Core with Configuration Wizard
|
#define MG_ARCH_ARMCC 12 // Keil MDK-Core with Configuration Wizard
|
||||||
#define MG_ARCH_CMSIS_RTOS2 13 // CMSIS-RTOS API v2 (Keil RTX5, FreeRTOS)
|
#define MG_ARCH_CMSIS_RTOS2 13 // CMSIS-RTOS API v2 (Keil RTX5, FreeRTOS)
|
||||||
#define MG_ARCH_RTTHREAD 14 // RT-Thread RTOS
|
#define MG_ARCH_RTTHREAD 14 // RT-Thread RTOS
|
||||||
|
#define MG_ARCH_ARMCGT 15 // Texas Semi ARM-CGT
|
||||||
|
|
||||||
#if !defined(MG_ARCH)
|
#if !defined(MG_ARCH)
|
||||||
#if defined(__unix__) || defined(__APPLE__)
|
#if defined(__unix__) || defined(__APPLE__)
|
||||||
@@ -76,6 +77,25 @@ extern "C" {
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#if MG_ARCH == MG_ARCH_ARMCGT
|
||||||
|
|
||||||
|
#include <ctype.h>
|
||||||
|
#include <errno.h>
|
||||||
|
#include <stdarg.h>
|
||||||
|
#include <stdbool.h>
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <string.h>
|
||||||
|
#include <sys/types.h>
|
||||||
|
#include <time.h>
|
||||||
|
|
||||||
|
#define MG_PATH_MAX 100
|
||||||
|
#define MG_ENABLE_SOCKET 0
|
||||||
|
#define MG_ENABLE_DIRLIST 0
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#if MG_ARCH == MG_ARCH_AZURERTOS
|
#if MG_ARCH == MG_ARCH_AZURERTOS
|
||||||
|
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
|
|||||||
@@ -15,6 +15,7 @@
|
|||||||
#define MG_ARCH_ARMCC 12 // Keil MDK-Core with Configuration Wizard
|
#define MG_ARCH_ARMCC 12 // Keil MDK-Core with Configuration Wizard
|
||||||
#define MG_ARCH_CMSIS_RTOS2 13 // CMSIS-RTOS API v2 (Keil RTX5, FreeRTOS)
|
#define MG_ARCH_CMSIS_RTOS2 13 // CMSIS-RTOS API v2 (Keil RTX5, FreeRTOS)
|
||||||
#define MG_ARCH_RTTHREAD 14 // RT-Thread RTOS
|
#define MG_ARCH_RTTHREAD 14 // RT-Thread RTOS
|
||||||
|
#define MG_ARCH_ARMCGT 15 // Texas Semi ARM-CGT
|
||||||
|
|
||||||
#if !defined(MG_ARCH)
|
#if !defined(MG_ARCH)
|
||||||
#if defined(__unix__) || defined(__APPLE__)
|
#if defined(__unix__) || defined(__APPLE__)
|
||||||
|
|||||||
@@ -0,0 +1,19 @@
|
|||||||
|
#pragma once
|
||||||
|
|
||||||
|
#if MG_ARCH == MG_ARCH_ARMCGT
|
||||||
|
|
||||||
|
#include <ctype.h>
|
||||||
|
#include <errno.h>
|
||||||
|
#include <stdarg.h>
|
||||||
|
#include <stdbool.h>
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <string.h>
|
||||||
|
#include <sys/types.h>
|
||||||
|
#include <time.h>
|
||||||
|
|
||||||
|
#define MG_PATH_MAX 100
|
||||||
|
#define MG_ENABLE_SOCKET 0
|
||||||
|
#define MG_ENABLE_DIRLIST 0
|
||||||
|
|
||||||
|
#endif
|
||||||
Reference in new issue
Block a user