gzdoom/0001-Revert-use-static_assert-to-make-32-bit-builds-fail.patch

24 lines
855 B
Diff
Raw Normal View History

From eb9bb8fb2fd0599199d8c94ece7e3bda642683ec Mon Sep 17 00:00:00 2001
From: Jan Engelhardt <jengelh@inai.de>
Date: Mon, 4 Jul 2022 10:52:17 +0200
Subject: [PATCH] Revert "- use static_assert to make 32 bit builds fail."
This reverts commit 8c244f6f850eeb5a5dede7f887f3f1ba87b3d8bc.
---
src/common/engine/i_interface.cpp | 2 --
1 file changed, 2 deletions(-)
Index: gzdoom-g4.9.0/src/common/engine/i_interface.cpp
===================================================================
--- gzdoom-g4.9.0.orig/src/common/engine/i_interface.cpp
+++ gzdoom-g4.9.0/src/common/engine/i_interface.cpp
@@ -5,8 +5,6 @@
#include "c_cvars.h"
#include "gstrings.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;