summaryrefslogtreecommitdiff
path: root/lib/curl_config.h.cmake
diff options
context:
space:
mode:
authorBernhard Walle <bernhard@bwalle.de>2018-05-27 10:38:07 +0200
committerDaniel Stenberg <daniel@haxx.se>2018-05-28 15:23:18 +0200
commit645948dffb363da05b2fe26e291b82f9172bab77 (patch)
treeca27c5c108a82486ff48178323d92b2b5aedad04 /lib/curl_config.h.cmake
parent06a72880d6a1bfb1517df4b24d892eb6922de114 (diff)
downloadcurl-645948dffb363da05b2fe26e291b82f9172bab77.tar.gz
cmake: check for getpwuid_r
The autotools-based build system does it, so we do it also in CMake. Bug: #2609 Signed-off-by: Bernhard Walle <bernhard@bwalle.de>
Diffstat (limited to 'lib/curl_config.h.cmake')
-rw-r--r--lib/curl_config.h.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/curl_config.h.cmake b/lib/curl_config.h.cmake
index 4b12083f2..a890d8ce6 100644
--- a/lib/curl_config.h.cmake
+++ b/lib/curl_config.h.cmake
@@ -235,6 +235,9 @@
/* Define to 1 if you have the `getpwuid' function. */
#cmakedefine HAVE_GETPWUID 1
+/* Define to 1 if you have the `getpwuid_r' function. */
+#cmakedefine HAVE_GETPWUID_R 1
+
/* Define to 1 if you have the `getrlimit' function. */
#cmakedefine HAVE_GETRLIMIT 1