Stricter MG_ARCH_CUSTOM and type conversions in sock.c

This commit is contained in:
cpq committed 2021-03-13 12:34:26 +00:00
1 parent 4356b953ca
commit 2594e7b37a
11 files changed
+238 -96

No files matched your search

+12
View File
@@ -2,9 +2,21 @@
#if MG_ARCH == MG_ARCH_ESP32
#include <ctype.h>
#include <dirent.h>
#include <errno.h>
#include <fcntl.h>
#include <limits.h>
#include <netdb.h>
#include <stdarg.h>
#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <time.h>
#define MG_DIRSEP '/'
#define MG_INT64_FMT "%lld"
#ifndef MG_PATH_MAX