| Index: core/include/fxcrt/fx_system.h
|
| diff --git a/core/include/fxcrt/fx_system.h b/core/include/fxcrt/fx_system.h
|
| index 9f43360fa7fb1c0f2cf8410b8708af65ae87ef4b..a757de4c5ee1b023fcf7e25630a7f55acefca612 100644
|
| --- a/core/include/fxcrt/fx_system.h
|
| +++ b/core/include/fxcrt/fx_system.h
|
| @@ -275,5 +275,14 @@ int FXSYS_round(FX_FLOAT f);
|
| #define FXSYS_sqrt2(a, b) (FX_FLOAT)FXSYS_sqrt((a)*(a) + (b)*(b))
|
| #ifdef __cplusplus
|
| };
|
| +
|
| +#if defined(__clang__) || defined(_MSC_VER)
|
| +#define FX_FINAL final
|
| +#elif defined(__GNUC__) && __cplusplus >= 201103 && \
|
| + (__GNUC__ * 10000 + __GNUC_MINOR__ * 100) >= 40700
|
| +#define FX_FINAL final
|
| +#else
|
| +#define FX_FINAL
|
| +#endif
|
| #endif
|
| #endif
|
|
|