summaryrefslogtreecommitdiff
path: root/libpq/postgresql/port/darwin/pg_config_os.h
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-09-21 01:02:04 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-10-09 19:14:35 +0300
commit2a969b7f4bdb223d3626dc14b684701942ccafb2 (patch)
tree5b317acd47e5183b7dd127417cd0017c39f28f94 /libpq/postgresql/port/darwin/pg_config_os.h
parent05ac4b76f5d30def9d51815c7f25d54316592f45 (diff)
Make package to be source rather than stub
Diffstat (limited to 'libpq/postgresql/port/darwin/pg_config_os.h')
-rw-r--r--libpq/postgresql/port/darwin/pg_config_os.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/libpq/postgresql/port/darwin/pg_config_os.h b/libpq/postgresql/port/darwin/pg_config_os.h
new file mode 100644
index 0000000..29c4b91
--- /dev/null
+++ b/libpq/postgresql/port/darwin/pg_config_os.h
@@ -0,0 +1,8 @@
+/* src/include/port/darwin.h */
+
+#define __darwin__ 1
+
+#if HAVE_DECL_F_FULLFSYNC /* not present before OS X 10.3 */
+#define HAVE_FSYNC_WRITETHROUGH
+
+#endif