summaryrefslogtreecommitdiffhomepage
path: root/dev/LibDebugger/POSIXMachContract.h
diff options
context:
space:
mode:
authorAmlal <amlal@nekernel.org>2025-04-25 09:41:29 +0200
committerAmlal <amlal@nekernel.org>2025-04-25 09:41:29 +0200
commit0561a8d0a6ae7588309a6e3513bbfeeef5f0aa15 (patch)
treef7fdd41a02cd9c5ae5288e4c6c74ab386f200900 /dev/LibDebugger/POSIXMachContract.h
parent81023b13dd170b0eceb1868355a600ad15abe4ea (diff)
dev, LibDebugger: add kdbg, working on NeKernelContract's implementation.
Signed-off-by: Amlal <amlal@nekernel.org>
Diffstat (limited to 'dev/LibDebugger/POSIXMachContract.h')
-rw-r--r--dev/LibDebugger/POSIXMachContract.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/dev/LibDebugger/POSIXMachContract.h b/dev/LibDebugger/POSIXMachContract.h
index a231d74..fbfe928 100644
--- a/dev/LibDebugger/POSIXMachContract.h
+++ b/dev/LibDebugger/POSIXMachContract.h
@@ -4,12 +4,10 @@
#pragma once
-#ifdef _WIN32
-#error Windows doesn't have a POSIX/Mach subsystem, please combine with windows instead.
-#endif
+#ifdef __APPLE__
/// @file POSIXMachContract.h
-/// @brief POSIX/Mach debugger.
+/// @brief POSIX Mach debugger.
#include <LibDebugger/DebuggerContract.h>
#include <LibCompiler/Defines.h>
@@ -22,6 +20,7 @@
#include <stdint.h>
#include <filesystem>
+#include <iostream>
#include <mach/mach.h>
#include <mach/mach_error.h>
@@ -168,3 +167,5 @@ namespace LibDebugger::POSIX
std::string m_path;
};
} // namespace LibDebugger::POSIX
+
+#endif