Fix syntax error in _clock_gettime POSIX fallback (#1204)
Some checks are pending
Build coop / build-linux (push) Waiting to run
Build coop / build-steamos (push) Waiting to run
Build coop / build-windows-opengl (push) Waiting to run
Build coop / build-windows-directx (push) Waiting to run
Build coop / build-macos-arm (push) Waiting to run
Build coop / build-macos-intel (push) Waiting to run

Remove stray `)` after the fallback clock_gettime() call in the _POSIX_MONOTONIC_CLOCK == 0 branch.
This commit is contained in:
Leonardo Manrique 2026-04-22 08:41:51 +02:00 committed by GitHub
parent b05b929fa4
commit a6b24865fa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -36,7 +36,7 @@ static void _clock_gettime(struct timespec* clock_time) {
clock_gettime(CLOCK_MONOTONIC, clock_time);
#else
if (clock_gettime(CLOCK_MONOTONIC, clock_time))
clock_gettime(CLOCK_REALTIME, clock_time));
clock_gettime(CLOCK_REALTIME, clock_time);
#endif
#ifdef DEVELOPMENT