stream: move O_BINARY dummy definition

This commit is contained in:
wm4 2013-12-18 17:12:16 +01:00
parent 4ed83fe2e5
commit 5e0424f17f
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -30,10 +30,6 @@
#include "bstr/bstr.h"
#ifndef O_BINARY
#define O_BINARY 0
#endif
enum streamtype {
STREAMTYPE_GENERIC = 0,
STREAMTYPE_FILE,