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:
hpcbjdic 2020-03-24 14:56:06 +01:00 committed by GitHub
parent 9e3e39d66d
commit 53a42cc4c1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

2
tmux.h
View file

@ -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