mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-24 14:45:41 +00:00
40 lines
907 B
C++
40 lines
907 B
C++
#ifndef _C4_CONFIG_HPP_
|
|
#define _C4_CONFIG_HPP_
|
|
|
|
/** @defgroup basic_headers Basic headers
|
|
* @brief Headers providing basic macros, platform+cpu+compiler information,
|
|
* C++ facilities and basic typedefs. */
|
|
|
|
/** @file config.hpp Contains configuration defines and includes the basic_headers.
|
|
* @ingroup basic_headers */
|
|
|
|
//#define C4_DEBUG
|
|
|
|
#define C4_ERROR_SHOWS_FILELINE
|
|
//#define C4_ERROR_SHOWS_FUNC
|
|
//#define C4_ERROR_THROWS_EXCEPTION
|
|
//#define C4_NO_ALLOC_DEFAULTS
|
|
//#define C4_REDEFINE_CPPNEW
|
|
|
|
#ifndef C4_SIZE_TYPE
|
|
# define C4_SIZE_TYPE size_t
|
|
#endif
|
|
|
|
#ifndef C4_STR_SIZE_TYPE
|
|
# define C4_STR_SIZE_TYPE C4_SIZE_TYPE
|
|
#endif
|
|
|
|
#ifndef C4_TIME_TYPE
|
|
# define C4_TIME_TYPE double
|
|
#endif
|
|
|
|
#include "c4/export.hpp"
|
|
#include "c4/preprocessor.hpp"
|
|
#include "c4/platform.hpp"
|
|
#include "c4/cpu.hpp"
|
|
#include "c4/compiler.hpp"
|
|
#include "c4/language.hpp"
|
|
#include "c4/types.hpp"
|
|
|
|
#endif // _C4_CONFIG_HPP_
|