Add MG_ARCH_NEWLIB

This commit is contained in:
Sergey Lyubka committed 2022-05-01 13:47:33 +01:00
1 parent d621fbfab1
commit 38557aac7f
7 files changed
+54 -45

No files matched your search

+23
View File
@@ -0,0 +1,23 @@
#pragma once
#if MG_ARCH == MG_ARCH_NEWLIB
#define _POSIX_TIMERS
#include <ctype.h>
#include <errno.h>
#include <stdarg.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/stat.h>
#include <sys/time.h>
#include <sys/types.h>
#include <time.h>
#include <unistd.h>
#define MG_PATH_MAX 100
#define MG_ENABLE_SOCKET 0
#define MG_ENABLE_DIRLIST 0
#endif