1
0
mirror of https://github.com/wolfpld/tracy synced 2025-04-29 04:23:51 +00:00

Fix static assert in rpmalloc.

This commit is contained in:
Bartosz Taudul 2020-03-01 01:31:31 +01:00
parent 5887c9d12c
commit c23984dd6a

View File

@ -107,10 +107,11 @@
# define PLATFORM_POSIX 1
#endif
#define _Static_assert static_assert
/// Platform and arch specifics
#if defined(_MSC_VER) && !defined(__clang__)
# define FORCEINLINE inline __forceinline
# define _Static_assert static_assert
#else
# define FORCEINLINE inline __attribute__((__always_inline__))
#endif