core: Fix Musl builds (#7934)

Musl does not include the internal type `__time_t`.
Use `time_t` instead.
This commit is contained in:
bivsk 2024-09-28 08:46:31 -04:00 committed by GitHub
parent 2cf6e7862a
commit 6f313de952
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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)