fixes for QNX support

This commit is contained in:
Günter Obiltschnig
2017-09-01 20:22:27 +02:00
parent 07b096c5bb
commit 3b735f6101
6 changed files with 237 additions and 13 deletions

View File

@@ -31,6 +31,7 @@
#endif
#include <limits>
#include <cmath>
#include <cctype>
#if !defined(POCO_NO_LOCALE)
#include <locale>
#endif
@@ -86,7 +87,7 @@ bool strToInt(const char* pStr, I& result, short base, char thSep = ',')
/// the return value is false with the result value undetermined.
{
if (!pStr) return false;
while (isspace(*pStr)) ++pStr;
while (std::isspace(*pStr)) ++pStr;
if (*pStr == '\0') return false;
short sign = 1;
if ((base == 10) && (*pStr == '-'))