Recognize that MSVC can support strtoll() and strtoull().
Tom Lane <tgl@sss.pgh.pa.us>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/include/pg_config.h.win32 | modified | +14 −2 |
Discussion
- BUG #15080: ecpg on windows doesn't define HAVE_LONG_LONG_INT 32 messages · 2018-02-23 → 2018-05-20