summaryrefslogtreecommitdiff
path: root/cmake/config.h.cmake
diff options
context:
space:
mode:
authorRalf Habacker <ralf.habacker@freenet.de>2019-01-08 09:33:41 +0100
committerSimon McVittie <smcv@collabora.com>2021-11-18 12:52:22 +0000
commit85e6d21a0f2f47d4bcbe8b312ea3bc790fe8beff (patch)
tree8db292ad8d8c59fd97cf7b92130a57a7b46f9f04 /cmake/config.h.cmake
parent6b41f053c59c942f8c6dfa6eafc415a63d30edf1 (diff)
downloaddbus-85e6d21a0f2f47d4bcbe8b312ea3bc790fe8beff.tar.gz
Add HAVE_DECL_xxx checks to cmake build system
The first two definitions are required to fix cmake build error when compiling with -Werror=undef on Windows. The last one completes having HAVE_DECL_xxx definitions.
Diffstat (limited to 'cmake/config.h.cmake')
-rw-r--r--cmake/config.h.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmake/config.h.cmake b/cmake/config.h.cmake
index 86b4acb0..a3258789 100644
--- a/cmake/config.h.cmake
+++ b/cmake/config.h.cmake
@@ -315,4 +315,7 @@
#define FD_SETSIZE @FD_SETSIZE@
#endif
+#cmakedefine01 HAVE_DECL_ENVIRON
+#cmakedefine01 HAVE_DECL_LOG_PERROR
+#cmakedefine01 HAVE_DECL_MSG_NOSIGNAL
#endif // _DBUS_CONFIG_H