aboutsummaryrefslogtreecommitdiff
path: root/ksocket/wsk.h
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2023-09-15 11:21:31 +0200
committerToni Uhlig <matzeton@googlemail.com>2023-09-15 11:21:31 +0200
commit0cbfbe129934976359460fdbe69fb97632d81d24 (patch)
tree3d4685fc1f02244c80d4f5de2fa6c80fae94a425 /ksocket/wsk.h
parent37d1e657e5e79bc240ea036cfb8da377b1640490 (diff)
Added C++ (`ksocket/ksocket.hpp`) Socket wrapper classes.
* another flatbuffers example (WiP!) * Makefile improvements Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'ksocket/wsk.h')
-rw-r--r--ksocket/wsk.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ksocket/wsk.h b/ksocket/wsk.h
index ccea103..25d7f06 100644
--- a/ksocket/wsk.h
+++ b/ksocket/wsk.h
@@ -1,6 +1,10 @@
#ifndef WSK_H
#define WSK_H 1
+#ifdef BUILD_USERMODE
+#error "This file should only be included if building for kernel mode! Include <ksocket/ksocket.hpp> wrapper instead."
+#endif
+
#include <ntddk.h>
#if !defined(__MINGW64__)