mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 03:01:03 +00:00
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:
parent
5bd81abdb1
commit
cb5d31a2fb
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue