From: Ulya Trofimovich Date: Tue, 5 Mar 2019 17:40:42 +0000 (+0000) Subject: Use something that Mingw understands instead of UINTMAX_MAX from . X-Git-Tag: 1.2~118 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7e51fb5b0e0adb1c3209ca77f34b956dd1c2611e;p=re2c Use something that Mingw understands instead of UINTMAX_MAX from . --- diff --git a/re2c/src/parse/scanner.cc b/re2c/src/parse/scanner.cc index 23dc65d8..5be4fda1 100644 --- a/re2c/src/parse/scanner.cc +++ b/re2c/src/parse/scanner.cc @@ -1,3 +1,4 @@ +#include #include #include "src/parse/scanner.h" @@ -6,7 +7,7 @@ namespace re2c { -const char *const Scanner::ENDPOS = (const char*) UINTMAX_MAX; +const char *const Scanner::ENDPOS = (const char*) ULLONG_MAX; Scanner::~Scanner() {