mirror of
https://github.com/wolfpld/tracy
synced 2025-05-03 06:03: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
|
# define PLATFORM_POSIX 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#define _Static_assert static_assert
|
||||||
|
|
||||||
/// Platform and arch specifics
|
/// Platform and arch specifics
|
||||||
#if defined(_MSC_VER) && !defined(__clang__)
|
#if defined(_MSC_VER) && !defined(__clang__)
|
||||||
# define FORCEINLINE inline __forceinline
|
# define FORCEINLINE inline __forceinline
|
||||||
# define _Static_assert static_assert
|
|
||||||
#else
|
#else
|
||||||
# define FORCEINLINE inline __attribute__((__always_inline__))
|
# define FORCEINLINE inline __attribute__((__always_inline__))
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user