From 8c244f6f850eeb5a5dede7f887f3f1ba87b3d8bc Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Wed, 22 Jun 2022 11:11:29 +0200 Subject: [PATCH] - use static_assert to make 32 bit builds fail. --- src/common/engine/i_interface.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/common/engine/i_interface.cpp b/src/common/engine/i_interface.cpp index 217f9212f..13d35a3a9 100644 --- a/src/common/engine/i_interface.cpp +++ b/src/common/engine/i_interface.cpp @@ -1,6 +1,8 @@ #include "i_interface.h" #include "st_start.h" +static_assert(sizeof(void*) == 8, "32 builds are not supported"); + // Some global engine variables taken out of the backend code. FStartupScreen* StartWindow; SystemCallbacks sysCallbacks;