add RT-Thread support

This commit is contained in:
WKJay committed 2023-06-26 16:18:40 +08:00
1 parent 6794a89f79
commit 5be1c6381b
5 files changed
+58

No files matched your search

+24
View File
@@ -0,0 +1,24 @@
#pragma once
#if MG_ARCH == MG_ARCH_RTTHREAD
#include <rtthread.h>
#include <ctype.h>
#include <errno.h>
#include <fcntl.h>
#include <sys/socket.h>
#include <sys/select.h>
#include <stdarg.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <time.h>
#ifndef MG_IO_SIZE
#define MG_IO_SIZE 1460
#endif
#endif // MG_ARCH == MG_ARCH_RTTHREAD