mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
libsysprof-capture: Replace G_{UN,}LIKELY with SYSPROF_{UN,}LIKELY
This does the same thing for modern compilers, but without the GLib dependency. Signed-off-by: Philip Withnall <withnall@endlessm.com> Helps: #40
This commit is contained in:
@ -340,7 +340,7 @@ sysprof_capture_condition_new_where_time_between (int64_t begin_time,
|
||||
{
|
||||
SysprofCaptureCondition *self;
|
||||
|
||||
if G_UNLIKELY (begin_time > end_time)
|
||||
if SYSPROF_UNLIKELY (begin_time > end_time)
|
||||
{
|
||||
int64_t tmp = begin_time;
|
||||
begin_time = end_time;
|
||||
|
||||
Reference in New Issue
Block a user