rename MG_ENABLE_FILE to MG_ENABLE_POSIX_FS

This commit is contained in:
Sergio R. Caprile committed 2024-01-22 16:21:57 -03:00
1 parent 00ea3830a7
commit 4d3fba57d4
18 files changed
+554 -554

No files matched your search

+3 -3
View File
@@ -117,11 +117,11 @@
#define MG_DIRSEP '/'
#endif
#ifndef MG_ENABLE_FILE
#ifndef MG_ENABLE_POSIX_FS
#if defined(FOPEN_MAX)
#define MG_ENABLE_FILE 1
#define MG_ENABLE_POSIX_FS 1
#else
#define MG_ENABLE_FILE 0
#define MG_ENABLE_POSIX_FS 0
#endif
#endif
+1 -1
View File
@@ -1,6 +1,6 @@
#include "fs.h"
#if MG_ENABLE_FILE
#if MG_ENABLE_POSIX_FS
#ifndef MG_STAT_STRUCT
#define MG_STAT_STRUCT stat