1 #if !defined(sol_config_compiler_hpp_included)
2 #define sol_config_compiler_hpp_included
3 /// \addtogroup sol_config
8 * \file sol/config/compiler.hpp
9 * \brief Compiler-specific configuration
10 * \author Sven Suursoho
18 #if defined(SOL_COMPILER_CONFIG)
19 // already have user specified compiler config header
21 #elif defined(__GNUC__)
23 #define SOL_COMPILER_CONFIG "sol/config/compiler/gcc.hpp"
26 #error "Unknown compiler"
34 #if defined(SOL_COMPILER_CONFIG)
35 #include SOL_COMPILER_CONFIG
40 // check for required stuff
43 #if !defined(SOL_COMPILER_NAME)
44 #error "SOL_COMPILER_NAME not specified"
47 #if !defined(SOL_COMPILER_VERSION)
48 #error "SOL_COMPILER_VERSION not specified"
53 #endif // sol_config_compiler_hpp_included