mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-19 11:09:42 +00:00
rename MG_ENABLE_FILE to MG_ENABLE_POSIX_FS
This commit is contained in:
1 parent
00ea3830a7
commit
4d3fba57d4
18 files changed
+554
-554
No files matched your search
+3
-3
@@ -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
@@ -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
|
||||
|
||||
Reference in new issue
Block a user