config.hpp (907B)
1 #ifndef _C4_CONFIG_HPP_ 2 #define _C4_CONFIG_HPP_ 3 4 /** @defgroup basic_headers Basic headers 5 * @brief Headers providing basic macros, platform+cpu+compiler information, 6 * C++ facilities and basic typedefs. */ 7 8 /** @file config.hpp Contains configuration defines and includes the basic_headers. 9 * @ingroup basic_headers */ 10 11 //#define C4_DEBUG 12 13 #define C4_ERROR_SHOWS_FILELINE 14 //#define C4_ERROR_SHOWS_FUNC 15 //#define C4_ERROR_THROWS_EXCEPTION 16 //#define C4_NO_ALLOC_DEFAULTS 17 //#define C4_REDEFINE_CPPNEW 18 19 #ifndef C4_SIZE_TYPE 20 # define C4_SIZE_TYPE size_t 21 #endif 22 23 #ifndef C4_STR_SIZE_TYPE 24 # define C4_STR_SIZE_TYPE C4_SIZE_TYPE 25 #endif 26 27 #ifndef C4_TIME_TYPE 28 # define C4_TIME_TYPE double 29 #endif 30 31 #include "c4/export.hpp" 32 #include "c4/preprocessor.hpp" 33 #include "c4/platform.hpp" 34 #include "c4/cpu.hpp" 35 #include "c4/compiler.hpp" 36 #include "c4/language.hpp" 37 #include "c4/types.hpp" 38 39 #endif // _C4_CONFIG_HPP_