summaryrefslogtreecommitdiff
path: root/config.h.cmake
diff options
context:
space:
mode:
authorDmitry Shulga <dmitry.shulga@mariadb.com>2022-04-22 18:47:19 +0700
committerDmitry Shulga <dmitry.shulga@mariadb.com>2022-04-22 18:47:19 +0700
commitbc7ba7afee8ba6f7d8fe61078d4c46184dc6fa56 (patch)
treeaebe1770a349f214a1f262e5cd91cc9637dbe431 /config.h.cmake
parent3c209bfc040ddfc41ece8357d772547432353fd2 (diff)
downloadmariadb-git-bc7ba7afee8ba6f7d8fe61078d4c46184dc6fa56.tar.gz
MDEV-27758: Errors when building Connect engine on os x 11.6.2
Added checking for support of vfork by a platform where building being done. Set HAVE_VFORK macros in case vfork() system call is supported. Use vfork() system call if the macros HAVE_VFORK is set, else use fork().
Diffstat (limited to 'config.h.cmake')
-rw-r--r--config.h.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/config.h.cmake b/config.h.cmake
index c74592b4a65..3a43c6132f0 100644
--- a/config.h.cmake
+++ b/config.h.cmake
@@ -577,3 +577,5 @@
#endif // !defined(__STDC_FORMAT_MACROS)
#endif
+
+#cmakedefine HAVE_VFORK 1