From 0cbfbe129934976359460fdbe69fb97632d81d24 Mon Sep 17 00:00:00 2001 From: Toni Uhlig Date: Fri, 15 Sep 2023 11:21:31 +0200 Subject: Added C++ (`ksocket/ksocket.hpp`) Socket wrapper classes. * another flatbuffers example (WiP!) * Makefile improvements Signed-off-by: Toni Uhlig --- ksocket/wsk.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ksocket/wsk.h') 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 wrapper instead." +#endif + #include #if !defined(__MINGW64__) -- cgit v1.2.3