Bug 437922 - use JS_MAX instead of the max() macro in prmjtime due to mingw-w64 bustage; r=mrbkap

This commit is contained in:
Mook 2009-02-23 02:08:00 +01:00
Родитель 53027c35dd
Коммит 4763c60ba6
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

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