summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2020-12-13 16:16:48 -0500
committerGriffinR <griffin.g.richards@gmail.com>2020-12-13 16:16:48 -0500
commitf7a729df3079041d3cc462a44919150f4ebdf19f (patch)
tree056f727648de1228cb7fd402bfcabac25dde934a
parentb1197ac2da952ca289d9e5ca37b49fd05207f65b (diff)
BUGFIX implies UBFIX
-rw-r--r--include/config.h8
1 files 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