diff options
author | Peiyuan Song <squallatf@gmail.com> | 2021-01-20 13:33:52 +0900 |
---|---|---|
committer | Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp> | 2021-01-20 13:33:52 +0900 |
commit | bf8ca5f019fa9fd585a7480a3d4198719369df92 (patch) | |
tree | 12fc5dba7c859ff280c8df7b617fea19d72f5696 /configure.ac | |
parent | ce0660b7ba283e3208db28a8763796816a587259 (diff) | |
download | zsh-bf8ca5f019fa9fd585a7480a3d4198719369df92.tar.gz zsh-bf8ca5f019fa9fd585a7480a3d4198719369df92.tar.xz zsh-bf8ca5f019fa9fd585a7480a3d4198719369df92.zip |
47840: make zpty module work on Cygwin
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 549cae3d6..16dafac05 100644 --- a/configure.ac +++ b/configure.ac @@ -2460,7 +2460,7 @@ if test x$ac_cv_have_dev_ptmx = xyes -o x$ac_cv_func_posix_openpt = xyes && \ test x$ac_cv_func_ptsname = xyes; then AC_CACHE_CHECK([if /dev/ptmx is usable], ac_cv_use_dev_ptmx, - [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#ifdef __linux + [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#if defined(__linux) || defined(__CYGWIN__) #define _GNU_SOURCE 1 #endif #include <stdlib.h> |