mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-25 08:38:21 +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/645>
This commit is contained in:
parent
0a6f93df2d
commit
e9e2069de5
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