PostgreSQL Source Code git master
darwin.h
Go to the documentation of this file.
1/* src/include/port/darwin.h */
2
3#define __darwin__ 1
4
5#if HAVE_DECL_F_FULLFSYNC /* not present before macOS 10.3 */
6#define HAVE_FSYNC_WRITETHROUGH
7
8#endif
9
10/*
11 * macOS has a platform-specific implementation of prefetching.
12 */
13#define USE_PREFETCH