8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-24 04:03:03 +01:00

Moved O_DIRECT definition for DARWIN to common place

This commit is contained in:
alexpeshkoff 2009-08-05 07:36:19 +00:00
parent e8504f42b6
commit f405174799
2 changed files with 2 additions and 4 deletions

View File

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

View File

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