From 81a4ebcc6665205a590d3d682161456690266349 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Tue, 9 Apr 2024 23:46:54 -0500 Subject: [PATCH] [ox/std] Sort of fix custom assert (synced from 3ff91af86bb77ba7727402e0f5b5b303e79d2430) --- src/ox/std/realstd.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ox/std/realstd.hpp b/src/ox/std/realstd.hpp index d4441a541..73b7ae31b 100644 --- a/src/ox/std/realstd.hpp +++ b/src/ox/std/realstd.hpp @@ -11,5 +11,5 @@ #if __has_include() #include #else -#define assert(e) while (1); +#define assert(e) while (!(e)); #endif \ No newline at end of file