buffer: improve seqnum fallback warning message

Print target CPU we're building for.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/565>
This commit is contained in:
Tim-Philipp Müller 2020-07-14 12:15:34 +01:00 committed by GStreamer Merge Bot
parent 5bd81abdb1
commit cb5d31a2fb

View file

@ -183,7 +183,10 @@ gst_atomic_int64_inc (volatile gint64 * atomic)
return InterlockedExchangeAdd64 (atomic, 1); return InterlockedExchangeAdd64 (atomic, 1);
} }
#else #else
#warning No 64-bit atomic int defined for this platform/toolchain! #define STR_TOKEN(s) #s
#define STR(s) STR_TOKEN(s)
#pragma message "No 64-bit atomic int defined for this " STR(TARGET_CPU) " platform/toolchain!"
#define NO_64BIT_ATOMIC_INT_FOR_PLATFORM #define NO_64BIT_ATOMIC_INT_FOR_PLATFORM
G_LOCK_DEFINE_STATIC (meta_seq); G_LOCK_DEFINE_STATIC (meta_seq);
static inline gint64 static inline gint64