summaryrefslogtreecommitdiffstats
path: root/config.h.cmake
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2019-02-17 19:40:16 +0100
committerSlávek Banko <[email protected]>2019-02-17 19:40:33 +0100
commitfb3f4e690672c342d0bf050ce15a0d80365d3c71 (patch)
treec09f154ba897bacb97a498aa0aafe885eba8b2da /config.h.cmake
parent86b1fce227074b460bd01468bca7087f3fc75c49 (diff)
downloadtdevelop-fb3f4e690672c342d0bf050ce15a0d80365d3c71.tar.gz
tdevelop-fb3f4e690672c342d0bf050ce15a0d80365d3c71.zip
Add CMake check if the getline function is defined
instead of listing the systems and versions that need to be defined. This resolves FTBFS on FreeBSD 12. Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit 0542509fc175c7b5a76cd31901834a2530ae4718)
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 790ee5b3..86f9566a 100644
--- a/config.h.cmake
+++ b/config.h.cmake
@@ -8,3 +8,6 @@
// lib/catalog
#cmakedefine USE_DB_H_PATH <@USE_DB_H_PATH@>
+
+// vcs/clearcase
+#cmakedefine HAVE_GETLINE 1