From cb5d31a2fbf0fac781ff7912f0d62217aeb121eb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim-Philipp=20M=C3=BCller?= Date: Tue, 14 Jul 2020 12:15:34 +0100 Subject: [PATCH] buffer: improve seqnum fallback warning message Print target CPU we're building for. Part-of: --- gst/gstbuffer.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gst/gstbuffer.c b/gst/gstbuffer.c index 62a4d3e..c22de90 100644 --- a/gst/gstbuffer.c +++ b/gst/gstbuffer.c @@ -183,7 +183,10 @@ gst_atomic_int64_inc (volatile gint64 * atomic) return InterlockedExchangeAdd64 (atomic, 1); } #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 G_LOCK_DEFINE_STATIC (meta_seq); static inline gint64 -- 2.7.4