mirror of
https://github.com/tmate-io/tmate.git
synced 2025-06-20 01:27:45 +02: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
2
tmux.h
2
tmux.h
@ -53,7 +53,9 @@ struct tmuxpeer;
|
|||||||
struct tmuxproc;
|
struct tmuxproc;
|
||||||
|
|
||||||
/* Default global configuration file. */
|
/* Default global configuration file. */
|
||||||
|
#ifndef TMUX_CONF
|
||||||
#define TMUX_CONF "/etc/tmux.conf"
|
#define TMUX_CONF "/etc/tmux.conf"
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Minimum layout cell size, NOT including separator line. The scroll region
|
* Minimum layout cell size, NOT including separator line. The scroll region
|
||||||
|
Loading…
x
Reference in New Issue
Block a user