summaryrefslogtreecommitdiffstats
path: root/src/host.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2021-01-01 19:04:35 +0100
committerDavid Robillard <d@drobilla.net>2021-01-01 21:14:20 +0100
commit55c4d2a72be3599312040ef1c9a17636afdc3558 (patch)
tree52203ee8029b0b739ef74bb71e9cbc1e487c05c7 /src/host.c
parented3bb5313f46b5d7b22b16f8de45536fdc86f1e3 (diff)
downloadsuil-55c4d2a72be3599312040ef1c9a17636afdc3558.tar.gz
suil-55c4d2a72be3599312040ef1c9a17636afdc3558.tar.bz2
suil-55c4d2a72be3599312040ef1c9a17636afdc3558.zip
Remove the need for a generated configuration header
Since some of these values were not actually configurable anyway, the redundant code in the wscript has been removed since the values are equivalent to the fallbacks defined in C.
Diffstat (limited to 'src/host.c')
-rw-r--r--src/host.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/host.c b/src/host.c
index 67936be..aee42c5 100644
--- a/src/host.c
+++ b/src/host.c
@@ -65,7 +65,7 @@ suil_host_free(SuilHost* host)
}
}
-#ifdef SUIL_WITH_X11
+#if USE_X11
static void
suil_load_init_module(const char* module_name)
{
@@ -94,7 +94,7 @@ suil_init(int* argc, char*** argv, SuilArg key, ...)
suil_argc = argc ? *argc : 0;
suil_argv = argv ? *argv : NULL;
-#ifdef SUIL_WITH_X11
+#if USE_X11
suil_load_init_module("suil_x11");
#endif
}