diff options
author | Julian Andres Klode <jak@debian.org> | 2016-08-08 14:56:53 +0200 |
---|---|---|
committer | Julian Andres Klode <jak@debian.org> | 2016-08-10 16:17:18 +0200 |
commit | 8c1dbbef35bea4082eacfe4e626e7726b9e84349 (patch) | |
tree | 4912898da8a1e825b5162394cb4d3254196601c2 /CMake/config.h.in | |
parent | 3093c60f4995c4b37ace3901951b9f244b6d416c (diff) |
CMake: Check for ptsname_r() again
This was dropped in autotools as I found no use of the HAVE_PTSNAME_R
macro. Turns out it was typoed as HAVE_PTS_NAME_R. Fix the #ifdef and
add checks to CMake for it.
Closes: #833674
Diffstat (limited to 'CMake/config.h.in')
-rw-r--r-- | CMake/config.h.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/CMake/config.h.in b/CMake/config.h.in index 3afd9123c..e929646fa 100644 --- a/CMake/config.h.in +++ b/CMake/config.h.in @@ -34,6 +34,9 @@ #cmakedefine HAVE_SETRESUID #cmakedefine HAVE_SETRESGID +/* Check for ptsname_r() */ +#cmakedefine HAVE_PTSNAME_R + /* Define the arch name string */ #define COMMON_ARCH "${COMMON_ARCH}" |