[build] use other #define for max

This commit is contained in:
Timothy Stack 2021-09-24 09:35:01 -07:00
parent 458b959a13
commit 1c5567157f
1 changed files with 1 additions and 1 deletions

View File

@ -413,7 +413,7 @@ logfile::rebuild_result_t logfile::rebuild_index(nonstd::optional<ui_clock::time
bool sort_needed = this->lf_sort_needed;
this->lf_sort_needed = false;
size_t limit = SIZE_T_MAX;
size_t limit = SIZE_MAX;
if (deadline) {
if (ui_clock::now() > deadline.value()) {