Skip to content

Commit 3e2711f

Browse files
committed
Move HAVE_TTYNAME_R to posix config header
1 parent 3c455c5 commit 3e2711f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

cmake/ext/posix/config.cmake.h.in

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,5 +49,8 @@
4949
/* Define to 1 if you have the 'setsid' function. */
5050
#cmakedefine HAVE_SETSID 1
5151

52+
/* Define to 1 if you have a working 'ttyname_r' function. */
53+
#cmakedefine HAVE_TTYNAME_R 1
54+
5255
/* Define to 1 if 'domainname' is a member of 'struct utsname'. */
5356
#cmakedefine HAVE_UTSNAME_DOMAINNAME 1

cmake/main/php_config.cmake.h.in

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -604,9 +604,6 @@
604604
/* Define to 1 if you have the <tmmintrin.h> header file. */
605605
#cmakedefine HAVE_TMMINTRIN_H 1
606606

607-
/* Define to 1 if you have a working 'ttyname_r' function. */
608-
#cmakedefine HAVE_TTYNAME_R 1
609-
610607
/* Define to 1 if you have the 'tzset' function. */
611608
#cmakedefine HAVE_TZSET 1
612609

0 commit comments

Comments
 (0)