about summary refs log tree commit diff
path: root/Src/zsh_system.h
diff options
context:
space:
mode:
authorJun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>2016-11-07 11:36:17 +0900
committerJun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>2016-11-07 11:36:17 +0900
commitf912e83505e586b917748183772140c3f3560fe2 (patch)
treeb34859753768f5b0e03bdd3c80dedf85a727cdfc /Src/zsh_system.h
parent06bd2b1c85007009c21bba223773c7630febd3ad (diff)
downloadzsh-f912e83505e586b917748183772140c3f3560fe2.tar.gz
zsh-f912e83505e586b917748183772140c3f3560fe2.tar.xz
zsh-f912e83505e586b917748183772140c3f3560fe2.zip
39728: define _GNU_SOURCE on Cygwin
Diffstat (limited to 'Src/zsh_system.h')
-rw-r--r--Src/zsh_system.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/zsh_system.h b/Src/zsh_system.h
index a9cbf02d0..5339b496f 100644
--- a/Src/zsh_system.h
+++ b/Src/zsh_system.h
@@ -37,7 +37,7 @@
 #endif
 #endif
 
-#if defined(__linux) || defined(__GNU__) || defined(__GLIBC__) || defined(LIBC_MUSL)
+#if defined(__linux) || defined(__GNU__) || defined(__GLIBC__) || defined(LIBC_MUSL) || defined(__CYGWIN__)
 /*
  * Turn on numerous extensions.
  * This is in order to get the functions for manipulating /dev/ptmx.