Commit 4251201f authored by gaoxingwang's avatar gaoxingwang

[#115] 2038 problem does not exist in 64-bit architecture

parent c2147767
......@@ -1117,7 +1117,7 @@ parse_date_core(cfile)
* overflow issues. We could try and be more precise but there
* doesn't seem to be a good reason to worry about it and waste
* the cpu looking at the rest of the date. */
if (year >= 138)
if (year >= 138 && sizeof(TIME) < 8)
return(MAX_TIME);
/* Guess the time value... */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment