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
1 changed files with 2 additions and 2 deletions

View File

@ -58,8 +58,8 @@ void CPresentationFeedback::sendQueued(SP<CQueuedPresentationData> data, timespe
if (reportedFlags & Aquamarine::IOutput::AQ_OUTPUT_PRESENT_HW_COMPLETION) if (reportedFlags & Aquamarine::IOutput::AQ_OUTPUT_PRESENT_HW_COMPLETION)
flags |= WP_PRESENTATION_FEEDBACK_KIND_HW_COMPLETION; flags |= WP_PRESENTATION_FEEDBACK_KIND_HW_COMPLETION;
__time_t tv_sec = 0; time_t tv_sec = 0;
if (sizeof(__time_t) > 4) if (sizeof(time_t) > 4)
tv_sec = when->tv_sec >> 32; tv_sec = when->tv_sec >> 32;
if (data->wasPresented) if (data->wasPresented)