mirror of
https://github.com/cesanta/mongoose.git
synced 2025-01-21 01:13:43 +08:00
O_BINARY might be defined.
Some unix environments defines O_BINARY.
This commit is contained in:
parent
f2b13761c0
commit
87a36c0c30
@ -1283,7 +1283,9 @@ typedef HANDLE process_id_t;
|
||||
#endif
|
||||
#include <inttypes.h>
|
||||
#include <pwd.h>
|
||||
#if !defined(O_BINARY)
|
||||
#define O_BINARY 0
|
||||
#endif
|
||||
#define INT64_FMT PRId64
|
||||
typedef struct stat file_stat_t;
|
||||
typedef pid_t process_id_t;
|
||||
|
Loading…
Reference in New Issue
Block a user