mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-15 07:14:46 +02:00
fixes for QNX support
This commit is contained in:
@@ -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 == '-'))
|
||||
|
Reference in New Issue
Block a user