summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"