diff options
author | Ralf Habacker <ralf.habacker@freenet.de> | 2018-10-16 22:47:18 +0200 |
---|---|---|
committer | Simon McVittie <smcv@collabora.com> | 2021-11-18 12:52:22 +0000 |
commit | 6b41f053c59c942f8c6dfa6eafc415a63d30edf1 (patch) | |
tree | 8a7002438159cd9e251038305d283461be4f7948 /cmake | |
parent | 541dbab907938e3bb1836e8994680d303f16381c (diff) | |
download | dbus-6b41f053c59c942f8c6dfa6eafc415a63d30edf1.tar.gz |
Move _GNU_SOURCE to config.h.cmake
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/config.h.cmake | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cmake/config.h.cmake b/cmake/config.h.cmake index b6532b13..86b4acb0 100644 --- a/cmake/config.h.cmake +++ b/cmake/config.h.cmake @@ -243,6 +243,11 @@ /* whether -export-dynamic was passed to libtool */ #cmakedefine DBUS_BUILT_R_DYNAMIC 1 +/* Enable GNU extensions on systems that have them. */ +#ifndef _GNU_SOURCE +#cmakedefine _GNU_SOURCE 1 +#endif + // structs /* Define to 1 if you have struct cmsgred */ #cmakedefine HAVE_CMSGCRED 1 |