summaryrefslogtreecommitdiffhomepage
path: root/src/DebuggerKit/Config.h
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-12-02 01:39:42 -0500
committerAmlal El Mahrouss <amlal@nekernel.org>2025-12-02 01:40:12 -0500
commitf7930b3a1279922cf9e6e75e651fe9b5df247bc6 (patch)
tree984d92f85d89aaf355a51af13d45a358da6473b7 /src/DebuggerKit/Config.h
parentc895f469119903b3874d74604e582aed0da989ae (diff)
chore: source level tweaks and breaking API changes.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'src/DebuggerKit/Config.h')
-rw-r--r--src/DebuggerKit/Config.h21
1 files changed, 14 insertions, 7 deletions
diff --git a/src/DebuggerKit/Config.h b/src/DebuggerKit/Config.h
index 2697832..7e589d2 100644
--- a/src/DebuggerKit/Config.h
+++ b/src/DebuggerKit/Config.h
@@ -23,15 +23,22 @@
#include <sys/wait.h>
#include <unistd.h>
-#include <filesystem>
-#include <iostream>
-
#include <dlfcn.h>
+
+#ifdef __APPLE__
#include <mach-o/dyld.h>
#include <mach/mach.h>
#include <mach/mach_error.h>
-#include <signal.h>
+#endif
+
+#ifndef kDistRelease
+
+#define kDistVersion "v0.0.7-debuggerkit"
+#define kDistVersionBCD 0x0001
+
+#define ToString(X) Stringify(X)
+#define Stringify(X) #X
+
+#define kDistRelease ToString(kDistReleaseBranch)
-#include <cstdint>
-#include <string>
-#include <unordered_map> \ No newline at end of file
+#endif // !kDistRelease \ No newline at end of file