Cygwin headers provide their own FORCEINLINE macro.

This commit is contained in:
Bartosz Taudul 2018-12-29 00:45:35 +01:00
parent 0a6c6606bf
commit ee718f18d9

View File

@ -101,6 +101,9 @@
# include <pthread.h>
# endif
# define ALIGNED_STRUCT(name, alignment) struct __attribute__((__aligned__(alignment))) name
# ifdef FORCEINLINE
# undef FORCEINLINE
# endif
# define FORCEINLINE inline __attribute__((__always_inline__))
# ifdef __arm__
# define atomic_thread_fence_acquire() __asm volatile("dmb ish" ::: "memory")