From 386acc521ddc904bc647b7bd18c3151ac4d53bd8 Mon Sep 17 00:00:00 2001 From: Paulo Rafael Feodrippe Date: Wed, 2 Oct 2024 15:55:57 +0000 Subject: [PATCH] #1383 Add FLECS_NO_ALERTS support --- distr/flecs.h | 3 +++ include/flecs/private/addons.h | 3 +++ 2 files changed, 6 insertions(+) diff --git a/distr/flecs.h b/distr/flecs.h index 790459d87b..f6cc8c9f1e 100644 --- a/distr/flecs.h +++ b/distr/flecs.h @@ -10314,6 +10314,9 @@ int ecs_value_move_ctor( #ifdef FLECS_NO_SYSTEM #undef FLECS_SYSTEM #endif +#ifdef FLECS_NO_ALERTS +#undef FLECS_ALERTS +#endif #ifdef FLECS_NO_PIPELINE #undef FLECS_PIPELINE #endif diff --git a/include/flecs/private/addons.h b/include/flecs/private/addons.h index 597e475306..6f2775bef6 100644 --- a/include/flecs/private/addons.h +++ b/include/flecs/private/addons.h @@ -24,6 +24,9 @@ #ifdef FLECS_NO_SYSTEM #undef FLECS_SYSTEM #endif +#ifdef FLECS_NO_ALERTS +#undef FLECS_ALERTS +#endif #ifdef FLECS_NO_PIPELINE #undef FLECS_PIPELINE #endif