summaryrefslogtreecommitdiff
path: root/src/parse.c
diff options
context:
space:
mode:
authorTim Wiederhake <twied@gmx.net>2024-03-03 12:55:11 +0100
committerThomas E. Dickey <dickey@his.com>2024-03-07 00:42:09 +0000
commit451e1b036d3dd0fddcf54733b5616169ed5ad570 (patch)
tree91411707fa9b1393f8f676000617d70454797af8 /src/parse.c
parentb603079e08f085a6b23f2fdf3f7eef9ccec86424 (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/parse.c')
-rw-r--r--src/parse.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/parse.c b/src/parse.c
index c659e53..c841489 100644
--- a/src/parse.c
+++ b/src/parse.c
@@ -71,9 +71,6 @@ in this Software without prior written authorization from The Open Group.
#include <X11/Xatom.h>
#include <X11/extensions/sync.h>
-#ifndef SYSTEM_INIT_FILE
-#define SYSTEM_INIT_FILE "/usr/lib/X11/twm/system.twmrc"
-#endif
#define BUF_LEN 300
static FILE *twmrc;
@@ -200,7 +197,7 @@ ParseTwmrc(char *filename)
break;
case 3: /* system.twmrc */
- cp = SYSTEM_INIT_FILE;
+ cp = DATADIR "/X11/twm/system.twmrc";
break;
}