commit 0ef1bc2: [Minor] remove check for sys/cdefs.h in CMakelists.txt

Duncan Bellamy dunk at denkimushi.com
Mon Mar 13 20:56:03 UTC 2023


Author: Duncan Bellamy
Date: 2023-03-11 11:16:28 +0000
URL: https://github.com/rspamd/rspamd/commit/0ef1bc2a56432bfb06206858233c8fe186dfd1d7 (refs/pull/4430/head)

[Minor] remove check for sys/cdefs.h in CMakelists.txt
rspamd uses G_(BEGIN|END)_DECLS not __(BEGIN|END)_DECLS

---
 CMakeLists.txt | 1 -
 1 file changed, 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2e0ef2cc8..722780913 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -284,7 +284,6 @@ CHECK_INCLUDE_FILES(sys/un.h  HAVE_SYS_UN_H)
 CHECK_INCLUDE_FILES(sys/stat.h  HAVE_SYS_STAT_H)
 CHECK_INCLUDE_FILES(sys/wait.h  HAVE_SYS_WAIT_H)
 CHECK_INCLUDE_FILES(sys/param.h  HAVE_SYS_PARAM_H)
-CHECK_INCLUDE_FILES(sys/cdefs.h  HAVE_SYS_CDEFS_H)
 CHECK_INCLUDE_FILES(sys/file.h  HAVE_SYS_FILE_H)
 CHECK_INCLUDE_FILES(sys/resource.h  HAVE_SYS_RESOURCE_H)
 CHECK_INCLUDE_FILES(netinet/in.h  HAVE_NETINET_IN_H)


More information about the Commits mailing list