mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-22 07:45:58 +01:00
core: Fix Musl builds (#7934)
Musl does not include the internal type `__time_t`. Use `time_t` instead.
This commit is contained in:
parent
2cf6e7862a
commit
6f313de952
1 changed files with 2 additions and 2 deletions
|
@ -58,8 +58,8 @@ void CPresentationFeedback::sendQueued(SP<CQueuedPresentationData> data, timespe
|
|||
if (reportedFlags & Aquamarine::IOutput::AQ_OUTPUT_PRESENT_HW_COMPLETION)
|
||||
flags |= WP_PRESENTATION_FEEDBACK_KIND_HW_COMPLETION;
|
||||
|
||||
__time_t tv_sec = 0;
|
||||
if (sizeof(__time_t) > 4)
|
||||
time_t tv_sec = 0;
|
||||
if (sizeof(time_t) > 4)
|
||||
tv_sec = when->tv_sec >> 32;
|
||||
|
||||
if (data->wasPresented)
|
||||
|
|
Loading…
Reference in a new issue