mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 01:23:03 +01:00
Moved O_DIRECT definition for DARWIN to common place
This commit is contained in:
parent
e8504f42b6
commit
f405174799
@ -215,6 +215,8 @@
|
||||
#define API_ROUTINE_VARARG API_ROUTINE
|
||||
#define INTERNAL_API_ROUTINE API_ROUTINE
|
||||
#define FB_EXPORTED __attribute__((visibility("default")))
|
||||
|
||||
#define O_DIRECT F_NOCACHE
|
||||
#endif /* Darwin Platforms */
|
||||
|
||||
|
||||
|
@ -69,10 +69,6 @@
|
||||
using namespace Jrd;
|
||||
using namespace Firebird;
|
||||
|
||||
#ifdef DARWIN
|
||||
#define O_DIRECT F_NOCACHE
|
||||
#endif
|
||||
|
||||
// Some operating systems have problems with use of write/read with
|
||||
// big (>2Gb) files. On the other hand, pwrite/pread works fine for them.
|
||||
// Therefore:
|
||||
|
Loading…
Reference in New Issue
Block a user