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

+13
View File
@@ -5,17 +5,30 @@
#define _DARWIN_UNLIMITED_SELECT 1
#include <arpa/inet.h>
#include <ctype.h>
#include <dirent.h>
#include <errno.h>
#include <fcntl.h>
#include <inttypes.h>
#include <limits.h>
#include <netdb.h>
#include <netinet/tcp.h>
#include <signal.h>
#include <stdarg.h>
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/select.h>
#include <sys/socket.h>
#include <sys/stat.h>
#include <sys/time.h>
#include <sys/types.h>
#include <time.h>
#include <unistd.h>
#define MG_DIRSEP '/'
#define MG_ENABLE_POSIX 1
#define MG_INT64_FMT "%" PRId64