mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-04 06:01:56 -07:00
core: Fix Musl builds (#7934)
Musl does not include the internal type `__time_t`. Use `time_t` instead.
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user