summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFreeArtMan <dos21h@gmail.com>2015-12-31 09:41:38 +0000
committerFreeArtMan <dos21h@gmail.com>2015-12-31 09:41:38 +0000
commit2d6d67e07233cc6b085fd9eebdd6795602c75a0b (patch)
tree8db0df0d2fdfd3ee6f66fc4ddd42bbfd07d05bf7
parenta9d66c6a759515c7061e2e8aac661eeb0082ea1e (diff)
downloadradiola-2d6d67e07233cc6b085fd9eebdd6795602c75a0b.tar.gz
radiola-2d6d67e07233cc6b085fd9eebdd6795602c75a0b.zip
Missing define
-rw-r--r--config.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/config.h b/config.h
index 0026d32..92f562b 100644
--- a/config.h
+++ b/config.h
@@ -4,7 +4,9 @@
Default configuration is linux configuration ofc
*/
-#if defined(OS_NETBSD)
+#define def(X) defined(CONFIG_##X)
+
+#if def(OS_NETBSD)
#include "config/config_bsd.h"
#else
#include "config/config_linux.h"