summaryrefslogtreecommitdiffstats
path: root/config.h.cmake
diff options
context:
space:
mode:
authorOBATA Akio <[email protected]>2019-04-20 16:46:15 +0900
committerOBATA Akio <[email protected]>2019-04-20 18:08:58 +0900
commit7537d9ef7d526052ca051d93692b290b5fb64d88 (patch)
treec2fdc0e11e5aa7cfe7e1998a3477cd657c6f9b6d /config.h.cmake
parent2c18879814fa01d3bd9de69625c8ff1791f793b6 (diff)
downloadtdenetwork-7537d9ef7d526052ca051d93692b290b5fb64d88.tar.gz
tdenetwork-7537d9ef7d526052ca051d93692b290b5fb64d88.zip
Change to check `strerror` and `fdopen` with CMake
It is hard to update list of "available" platforms. Signed-off-by: OBATA Akio <[email protected]>
Diffstat (limited to 'config.h.cmake')
-rw-r--r--config.h.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.h.cmake b/config.h.cmake
index 3bed93bc..df1f6404 100644
--- a/config.h.cmake
+++ b/config.h.cmake
@@ -52,6 +52,9 @@
#cmakedefine HAVE_UTMP_H 1
#cmakedefine HAVE_UTMPX_H 1
#cmakedefine HAVE_VSNPRINTF 1
+#cmakedefine HAVE_STRERROR 1
+#cmakedefine HAVE_STRERROR_PROTO 1
+#cmakedefine HAVE_FDOPEN_PROTO 1
#cmakedefine SCANDIR_NEEDS_CONST 1
// only for Linux