1
0
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:
Oliver Freyermuth
2017-07-27 20:34:04 +02:00
committed by Michał Janiszewski
parent 70793f65a5
commit 0ec78052d6

View File

@@ -23,7 +23,7 @@ extern "C" {
#endif // __cplusplus
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;
va_list va;