]> granicus.if.org Git - postgresql/commit
Recognize that MSVC can support strtoll() and strtoull().
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 18 May 2018 16:52:28 +0000 (12:52 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 18 May 2018 16:52:28 +0000 (12:52 -0400)
commitcf39aebf17c571456c9dbcc06d3569a98e2fcecc
tree56e42c359ca4af6ee0da04769ce298314d7168de
parent29ce50091d128faaabd0a4044e91a7d0da11bb8e
Recognize that MSVC can support strtoll() and strtoull().

This is needed for full support of "long long" variables in ecpg, but
the previous patch for bug #15080 (commits 51057feaa et al) missed it.
In MSVC versions where the functions don't exist under those names,
we can nonetheless use _strtoi64() and _strtoui64().

Like the previous patch, back-patch all the way.

Dang Minh Huong

Discussion: https://postgr.es/m/151935568942.1461.14623890240535309745@wrigleys.postgresql.org
src/include/pg_config.h.win32