Add a define for the socket permissions check so it can be overridden

more easily (for Cgywin).
This commit is contained in:
nicm
2024-10-02 11:48:16 +00:00
parent ddf6af79e3
commit ce4be58eef
2 changed files with 4 additions and 1 deletions

3
tmux.h
View File

@ -78,6 +78,9 @@ struct winlink;
#ifndef TMUX_SOCK
#define TMUX_SOCK "$TMUX_TMPDIR:" _PATH_TMP
#endif
#ifndef TMUX_SOCK_PERM
#define TMUX_SOCK_PERM (7 /* o+rwx */)
#endif
#ifndef TMUX_TERM
#define TMUX_TERM "screen"
#endif