зеркало из https://github.com/mozilla/gecko-dev.git
Bug 437922 - use JS_MAX instead of the max() macro in prmjtime due to mingw-w64 bustage; r=mrbkap
This commit is contained in:
Родитель
53027c35dd
Коммит
4763c60ba6
|
@ -440,7 +440,7 @@ PRMJ_Now(void)
|
|||
|
||||
/* On some dual processor/core systems, we might get an earlier time
|
||||
so we cache the last time that we returned */
|
||||
calibration.last = max(calibration.last,(JSInt64)highresTime);
|
||||
calibration.last = JS_MAX(calibration.last,(JSInt64)highresTime);
|
||||
returnedTime = calibration.last;
|
||||
MUTEX_UNLOCK(&calibration.data_lock);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче