Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add preprocessor check for weird (incorrect) build configurations
  • Loading branch information
sfan5 committed Sep 19, 2021
1 parent fd8a850 commit ad076ed
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/main.cpp
Expand Up @@ -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"
Expand Down

0 comments on commit ad076ed

Please sign in to comment.