mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-23 15:52:55 +01:00
Guard: Mark openrct2_assert as static explicitly.
Fixes compilation errors with gcc 4.9.4, which otherwise requires an explicit declaration before the definition.
This commit is contained in:
committed by
Michał Janiszewski
parent
70793f65a5
commit
0ec78052d6
@@ -23,7 +23,7 @@ extern "C" {
|
|||||||
#endif // __cplusplus
|
#endif // __cplusplus
|
||||||
|
|
||||||
void openrct2_assert_va(bool expression, const char * message, va_list va);
|
void openrct2_assert_va(bool expression, const char * message, va_list va);
|
||||||
inline void openrct2_assert(bool expression, const char * message, ...)
|
static inline void openrct2_assert(bool expression, const char * message, ...)
|
||||||
{
|
{
|
||||||
if (!expression) return;
|
if (!expression) return;
|
||||||
va_list va;
|
va_list va;
|
||||||
|
|||||||
Reference in New Issue
Block a user