summaryrefslogtreecommitdiff
path: root/config.h.meson
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2020-09-08 17:50:39 +0100
committerEmmanuele Bassi <ebassi@gnome.org>2020-09-08 23:50:12 +0100
commit107e49002d16125141f32f4ad0abe8c9ac611fbd (patch)
tree9f46efa83dbdcb0d0f6f6696d26b12a6fe630663 /config.h.meson
parent31a75745443a4e07aa55b743aa6ccf99cc473f2f (diff)
downloadgtk+-107e49002d16125141f32f4ad0abe8c9ac611fbd.tar.gz
Check for mlock()
We use it in the secure memory allocator, if it's available.
Diffstat (limited to 'config.h.meson')
-rw-r--r--config.h.meson3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.h.meson b/config.h.meson
index f6a0ea0187..1968bb9cbe 100644
--- a/config.h.meson
+++ b/config.h.meson
@@ -69,6 +69,9 @@
/* Define to 1 if you have the `mkstemp' function. */
#mesondefine HAVE_MKSTEMP
+/* Define to 1 if you have the `mlock` function. */
+#mesondefine HAVE_MLOCK
+
/* Define to 1 if you have a working `mmap' system call. */
#mesondefine HAVE_MMAP