mirror of
https://github.com/tmux/tmux.git
synced 2024-12-04 19:58:48 +00:00
Bypass permission check for Cygwin, based on a different change by Yuya Adachi
via Rafael Kitover; GitHub issue 4148.
This commit is contained in:
parent
8d2aee34ab
commit
1e303b6a9d
@ -66,6 +66,11 @@ if IS_HAIKU
|
|||||||
AM_CPPFLAGS += -D_BSD_SOURCE
|
AM_CPPFLAGS += -D_BSD_SOURCE
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# Set flags for Cygwin.
|
||||||
|
if IS_CYGWIN
|
||||||
|
AM_CPPFLAGS += -DTMUX_SOCK_PERM=0
|
||||||
|
endif
|
||||||
|
|
||||||
# List of sources.
|
# List of sources.
|
||||||
dist_tmux_SOURCES = \
|
dist_tmux_SOURCES = \
|
||||||
alerts.c \
|
alerts.c \
|
||||||
|
@ -982,6 +982,7 @@ AM_CONDITIONAL(IS_NETBSD, test "x$PLATFORM" = xnetbsd)
|
|||||||
AM_CONDITIONAL(IS_OPENBSD, test "x$PLATFORM" = xopenbsd)
|
AM_CONDITIONAL(IS_OPENBSD, test "x$PLATFORM" = xopenbsd)
|
||||||
AM_CONDITIONAL(IS_SUNOS, test "x$PLATFORM" = xsunos)
|
AM_CONDITIONAL(IS_SUNOS, test "x$PLATFORM" = xsunos)
|
||||||
AM_CONDITIONAL(IS_HPUX, test "x$PLATFORM" = xhpux)
|
AM_CONDITIONAL(IS_HPUX, test "x$PLATFORM" = xhpux)
|
||||||
|
AM_CONDITIONAL(IS_CYGWIN, test "x$PLATFORM" = xcygwin)
|
||||||
AM_CONDITIONAL(IS_HAIKU, test "x$PLATFORM" = xhaiku)
|
AM_CONDITIONAL(IS_HAIKU, test "x$PLATFORM" = xhaiku)
|
||||||
AM_CONDITIONAL(IS_UNKNOWN, test "x$PLATFORM" = xunknown)
|
AM_CONDITIONAL(IS_UNKNOWN, test "x$PLATFORM" = xunknown)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user