mirror of
https://github.com/php/php-src.git
synced 2024-12-27 02:39:39 +08:00
fix #40678 (Cross compilation fails)
This commit is contained in:
parent
78545a93c5
commit
ad0a5398ac
@ -28,5 +28,7 @@ int main(int argc, char *argv[])
|
||||
AC_DEFINE(HAVE_TTYNAME_R, 1, [Whether you have a working ttyname_r])
|
||||
],[
|
||||
AC_MSG_RESULT([no, posix_ttyname() will be thread-unsafe])
|
||||
], [
|
||||
AC_MSG_RESULT([no, cannot detect working ttyname_r() when cross compiling. posix_ttyname() will be thread-unsafe])
|
||||
])
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user