mirror of
https://github.com/tmate-io/tmate.git
synced 2026-01-22 18:14:09 +00:00
enable redefinition of TMUX_CONF
Without the added #ifndef / #endif it's not possible to _actually_ redefine TMUX_CONF by means of the compiler flag -DTMUX_CONF=... as done by the build system. The same patch has also been applied to tmux, cf. master at https://github.com/tmux/tmux/blob/master/tmux.h.
This commit is contained in:
parent
f6a4ae6042
commit
8123fa34f8
1 changed files with 2 additions and 0 deletions
2
tmux.h
2
tmux.h
|
|
@ -53,7 +53,9 @@ struct tmuxpeer;
|
|||
struct tmuxproc;
|
||||
|
||||
/* Default global configuration file. */
|
||||
#ifndef TMUX_CONF
|
||||
#define TMUX_CONF "/etc/tmux.conf"
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Minimum layout cell size, NOT including separator line. The scroll region
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue