mirror of https://github.com/mpv-player/mpv
stream: move O_BINARY dummy definition
This commit is contained in:
parent
4ed83fe2e5
commit
5e0424f17f
|
@ -26,6 +26,10 @@
|
|||
#include <sys/stat.h>
|
||||
#include <fcntl.h>
|
||||
|
||||
#ifndef O_BINARY
|
||||
#define O_BINARY 0
|
||||
#endif
|
||||
|
||||
// This is in POSIX.1-2008, but support outside of Linux is scarce.
|
||||
#ifndef O_CLOEXEC
|
||||
#define O_CLOEXEC 0
|
||||
|
|
|
@ -30,10 +30,6 @@
|
|||
|
||||
#include "bstr/bstr.h"
|
||||
|
||||
#ifndef O_BINARY
|
||||
#define O_BINARY 0
|
||||
#endif
|
||||
|
||||
enum streamtype {
|
||||
STREAMTYPE_GENERIC = 0,
|
||||
STREAMTYPE_FILE,
|
||||
|
|
Loading…
Reference in New Issue