Add preprocessor check for weird (incorrect) build configurations

This commit is contained in:
sfan5 2021-09-13 17:38:19 +02:00
parent fd8a8501bc
commit ad076ede85

@ -61,11 +61,8 @@ extern "C" {
#endif
}
#if !defined(SERVER) && \
(IRRLICHT_VERSION_MAJOR == 1) && \
(IRRLICHT_VERSION_MINOR == 8) && \
(IRRLICHT_VERSION_REVISION == 2)
#error "Irrlicht 1.8.2 is known to be broken - please update Irrlicht to version >= 1.8.3"
#if !defined(__cpp_rtti) || !defined(__cpp_exceptions)
#error Minetest cannot be built without exceptions or RTTI
#endif
#define DEBUGFILE "debug.txt"