summaryrefslogtreecommitdiff
path: root/src/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.h')
-rw-r--r--src/config.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/config.h b/src/config.h
new file mode 100644
index 0000000..92f562b
--- /dev/null
+++ b/src/config.h
@@ -0,0 +1,15 @@
+#ifndef ___CONFIG_H
+#define ___CONFIG_H
+/*
+Default configuration is linux configuration ofc
+*/
+
+#define def(X) defined(CONFIG_##X)
+
+#if def(OS_NETBSD)
+#include "config/config_bsd.h"
+#else
+#include "config/config_linux.h"
+#endif
+
+#endif