diff options
author | Tim Wiederhake <twied@gmx.net> | 2024-03-03 12:55:11 +0100 |
---|---|---|
committer | Thomas E. Dickey <dickey@his.com> | 2024-03-07 00:42:09 +0000 |
commit | 451e1b036d3dd0fddcf54733b5616169ed5ad570 (patch) | |
tree | 91411707fa9b1393f8f676000617d70454797af8 /src/twm.h | |
parent | b603079e08f085a6b23f2fdf3f7eef9ccec86424 (diff) |
Provide defaults for externally defined symbols
AM_CPPFLAGS defines several symbols that do not have to be there. By providing
default values in twm.h, this list can be reduced in size while still allowing
to override these values.
Signed-off-by: Tim Wiederhake <twied@gmx.net>
Diffstat (limited to 'src/twm.h')
-rw-r--r-- | src/twm.h | 20 |
1 files changed, 20 insertions, 0 deletions
@@ -74,6 +74,26 @@ from The Open Group. #include <X11/StringDefs.h> #include <X11/Intrinsic.h> +#ifndef APP_NAME +#define APP_NAME "twm" +#endif + +#ifndef APP_CLASS +#define APP_CLASS "twm" +#endif + +#ifndef APP_VERSION +#define APP_VERSION "unknown" +#endif + +#ifndef DATADIR +#define DATADIR "/usr/local/share" +#endif + +#ifndef XVENDORNAME +#define XVENDORNAME "The X.Org Foundation" +#endif + #ifndef WithdrawnState #define WithdrawnState 0 #endif |