mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-06 20:50:31 +01:00
intel: make CLOCK_BOOTTIME optional for non-Linux
src/intel/common/xe/intel_gem.c:71:9: error: use of undeclared identifier 'CLOCK_BOOTTIME'
case CLOCK_BOOTTIME:
^
Fixes: ae0df368a8 ("intel/common: Add intel_gem_read_correlate_cpu_gpu_timestamp()")
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26392>
This commit is contained in:
parent
5c32c41f65
commit
112093f9e2
1 changed files with 2 additions and 0 deletions
|
|
@ -68,7 +68,9 @@ xe_gem_read_correlate_cpu_gpu_timestamp(int fd,
|
|||
case CLOCK_MONOTONIC_RAW:
|
||||
#endif
|
||||
case CLOCK_REALTIME:
|
||||
#ifdef CLOCK_BOOTTIME
|
||||
case CLOCK_BOOTTIME:
|
||||
#endif
|
||||
#ifdef CLOCK_TAI
|
||||
case CLOCK_TAI:
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue