From 7a715c2bf2dea17f1d35157e77e5e6d4b70c40c0 Mon Sep 17 00:00:00 2001 From: mq1n Date: Sun, 27 Jun 2021 09:25:44 +0300 Subject: [PATCH] add x86 unsupported notification --- src/main.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index 48d81e7..eb8668a 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -6,6 +6,10 @@ #include #include +#ifdef _M_IX86 +#error "architecture unsupported" +#endif + #define STATUS_SUCCESS ((NTSTATUS)0x00000000L) #define SystemBootEnvironmentInformation 90 #define SystemSecureBootInformation 145