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:
parent
5887c9d12c
commit
c23984dd6a
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user