summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-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