posix/fd: move definition of O_BINARY into public header
This commit is contained in:
parent
1a7b7daa93
commit
4fd20d2acf
@ -15,10 +15,6 @@
|
||||
#include <fcntl.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#if !defined(O_BINARY)
|
||||
#define O_BINARY 0
|
||||
#endif
|
||||
|
||||
using cruft::posix::fd;
|
||||
|
||||
|
||||
|
@ -12,10 +12,17 @@
|
||||
#include "../debug.hpp"
|
||||
#include "../view.hpp"
|
||||
|
||||
#include <experimental/filesystem>
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
#include <experimental/filesystem>
|
||||
#include <fcntl.h>
|
||||
|
||||
#if !defined(O_BINARY)
|
||||
#define O_BINARY 0
|
||||
#endif
|
||||
|
||||
|
||||
namespace cruft::posix {
|
||||
///------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user