From c23984dd6a8281603b9c4d77bbbbc36403c4bad2 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sun, 1 Mar 2020 01:31:31 +0100 Subject: [PATCH] Fix static assert in rpmalloc. --- client/tracy_rpmalloc.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/tracy_rpmalloc.cpp b/client/tracy_rpmalloc.cpp index a9be0bc7..9fe6e2fe 100644 --- a/client/tracy_rpmalloc.cpp +++ b/client/tracy_rpmalloc.cpp @@ -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