14 lines
251 B
C
14 lines
251 B
C
/* src/include/port/darwin.h */
|
|
|
|
#define __darwin__ 1
|
|
|
|
#if HAVE_DECL_F_FULLFSYNC /* not present before macOS 10.3 */
|
|
#define HAVE_FSYNC_WRITETHROUGH
|
|
|
|
#endif
|
|
|
|
/*
|
|
* macOS has a platform-specific implementation of prefetching.
|
|
*/
|
|
#define USE_PREFETCH
|