mirror of
https://github.com/google/brotli.git
synced 2024-11-25 04:50:05 +00:00
Update brotli.c
This commit is contained in:
parent
9f8fa70412
commit
fa362d537f
@ -28,10 +28,10 @@
|
|||||||
#include <sys/utime.h>
|
#include <sys/utime.h>
|
||||||
|
|
||||||
#define MAKE_BINARY(FILENO) (_setmode((FILENO), _O_BINARY), (FILENO))
|
#define MAKE_BINARY(FILENO) (_setmode((FILENO), _O_BINARY), (FILENO))
|
||||||
|
|
||||||
#if !defined(__MINGW32__)
|
|
||||||
#define STDIN_FILENO MAKE_BINARY(_fileno(stdin))
|
#define STDIN_FILENO MAKE_BINARY(_fileno(stdin))
|
||||||
#define STDOUT_FILENO MAKE_BINARY(_fileno(stdout))
|
#define STDOUT_FILENO MAKE_BINARY(_fileno(stdout))
|
||||||
|
|
||||||
|
#if !defined(__MINGW32__)
|
||||||
#define S_IRUSR S_IREAD
|
#define S_IRUSR S_IREAD
|
||||||
#define S_IWUSR S_IWRITE
|
#define S_IWUSR S_IWRITE
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user