mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-09 16:21:45 +00:00
O_BINARY might be defined.
Some unix environments defines O_BINARY.
This commit is contained in:
1 parent
f2b13761c0
commit
87a36c0c30
1 file changed
+2
@@ -1283,7 +1283,9 @@ typedef HANDLE process_id_t;
|
|||||||
#endif
|
#endif
|
||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
#include <pwd.h>
|
#include <pwd.h>
|
||||||
|
#if !defined(O_BINARY)
|
||||||
#define O_BINARY 0
|
#define O_BINARY 0
|
||||||
|
#endif
|
||||||
#define INT64_FMT PRId64
|
#define INT64_FMT PRId64
|
||||||
typedef struct stat file_stat_t;
|
typedef struct stat file_stat_t;
|
||||||
typedef pid_t process_id_t;
|
typedef pid_t process_id_t;
|
||||||
|
|||||||
Reference in new issue
Block a user