summaryrefslogtreecommitdiffstats
path: root/config.h.cmake
diff options
context:
space:
mode:
authorOBATA Akio <[email protected]>2020-08-17 16:07:14 +0900
committerSlávek Banko <[email protected]>2020-08-17 16:47:37 +0200
commit3dee97b870a1ec044c9a831488d0d19d7fc737a0 (patch)
treec6f8bf4d5a0e6c4f0ac3fdb9fd0892d30716b3c8 /config.h.cmake
parent98a3fd49da14d603aedd2595704085e404bb681a (diff)
downloadtdelibs-3dee97b870a1ec044c9a831488d0d19d7fc737a0.tar.gz
tdelibs-3dee97b870a1ec044c9a831488d0d19d7fc737a0.zip
Add `getservbyname_r` prototype detection to CMake
OpenBSD's prototype is differ than glibc's one, but it is declared. Signed-off-by: OBATA Akio <[email protected]> (cherry picked from commit 6886dd7e96d475b64ac3c41a96a759c7d5fa2be9)
Diffstat (limited to 'config.h.cmake')
-rw-r--r--config.h.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.h.cmake b/config.h.cmake
index 2797b935f..86ff0491f 100644
--- a/config.h.cmake
+++ b/config.h.cmake
@@ -159,7 +159,7 @@
#cmakedefine HAVE_CUPS_1_6 1
/* Define to 1 if you have the declaration of `getservbyname_r', and to 0 if you don't. */
-#undef HAVE_DECL_GETSERVBYNAME_R
+#cmakedefine01 HAVE_DECL_GETSERVBYNAME_R
/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'. */
#cmakedefine HAVE_DIRENT_H 1