mirror of
https://github.com/wolfpld/tracy
synced 2025-04-30 04:43:53 +00:00
Cygwin headers provide their own FORCEINLINE macro.
This commit is contained in:
parent
0a6c6606bf
commit
ee718f18d9
@ -101,6 +101,9 @@
|
|||||||
# include <pthread.h>
|
# include <pthread.h>
|
||||||
# endif
|
# endif
|
||||||
# define ALIGNED_STRUCT(name, alignment) struct __attribute__((__aligned__(alignment))) name
|
# define ALIGNED_STRUCT(name, alignment) struct __attribute__((__aligned__(alignment))) name
|
||||||
|
# ifdef FORCEINLINE
|
||||||
|
# undef FORCEINLINE
|
||||||
|
# endif
|
||||||
# define FORCEINLINE inline __attribute__((__always_inline__))
|
# define FORCEINLINE inline __attribute__((__always_inline__))
|
||||||
# ifdef __arm__
|
# ifdef __arm__
|
||||||
# define atomic_thread_fence_acquire() __asm volatile("dmb ish" ::: "memory")
|
# define atomic_thread_fence_acquire() __asm volatile("dmb ish" ::: "memory")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user