mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-25 00:58:30 -05:00
Fixed compile error.
This commit is contained in:
parent
07f052201a
commit
c3ed0050d2
1 changed files with 3 additions and 3 deletions
|
@ -10,7 +10,7 @@
|
|||
# define BGFX_CONFIG_DEBUG 0
|
||||
#endif // BGFX_CONFIG_DEBUG
|
||||
|
||||
#if BGFX_CONFIG_DEBUG || BX_COMPILER_CLANG_ANALYZER
|
||||
#if BGFX_CONFIG_DEBUG || defined(__clang_analyzer__)
|
||||
# define BX_TRACE _BX_TRACE
|
||||
# define BX_WARN _BX_WARN
|
||||
# define BX_CHECK _BX_CHECK
|
||||
|
@ -29,11 +29,11 @@
|
|||
|
||||
namespace bgfx
|
||||
{
|
||||
#if BX_COMPILER_CLANG_ANALYZER
|
||||
#if defined(__clang_analyzer__)
|
||||
void __attribute__((analyzer_noreturn)) fatal(Fatal::Enum _code, const char* _format, ...);
|
||||
#else
|
||||
void fatal(Fatal::Enum _code, const char* _format, ...);
|
||||
#endif // BX_COMPILER_CLANG_ANALYZER
|
||||
#endif // defined(__clang_analyzer__)
|
||||
|
||||
void dbgPrintf(const char* _format, ...);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue