2021-05-28 18:30:42 +01:00
|
|
|
// Required by the test ARM build
|
|
|
|
#pragma once
|
|
|
|
|
2021-07-29 14:21:20 +01:00
|
|
|
#define _POSIX_TIMERS
|
2021-07-27 09:54:45 +01:00
|
|
|
|
2021-05-28 18:30:42 +01:00
|
|
|
#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_DIRSEP '/'
|
|
|
|
#define MG_INT64_FMT "%lld"
|
2021-07-23 20:48:48 +01:00
|
|
|
#undef MG_PATH_MAX
|
2021-05-28 18:30:42 +01:00
|
|
|
#define MG_PATH_MAX 100
|
2021-07-23 20:48:48 +01:00
|
|
|
#undef MG_ENABLE_SOCKET
|
2021-05-28 18:30:42 +01:00
|
|
|
#define MG_ENABLE_SOCKET 0
|