From f7a729df3079041d3cc462a44919150f4ebdf19f Mon Sep 17 00:00:00 2001 From: GriffinR Date: Sun, 13 Dec 2020 16:16:48 -0500 Subject: [PATCH] BUGFIX implies UBFIX --- include/config.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/config.h b/include/config.h index 34ce302e5..4c231a84d 100644 --- a/include/config.h +++ b/include/config.h @@ -23,15 +23,15 @@ #define UNITS_METRIC #endif +// Uncomment to fix some identified minor bugs +//#define BUGFIX + // Various undefined behavior bugs may or may not prevent compilation with // newer compilers. So always fix them when using a modern compiler. -#if MODERN +#if MODERN || defined(BUGFIX) #ifndef UBFIX #define UBFIX #endif #endif -// Uncomment to fix some identified minor bugs -//#define BUGFIX - #endif // GUARD_CONFIG_H