do not use of UINT64_C

This commit is contained in:
Guenter Obiltschnig 2015-09-09 13:30:14 +02:00
parent f315dc603e
commit ea52ac5358

View File

@ -22,7 +22,6 @@
#include <iostream>
#include <iomanip>
#include <cstdio>
#include <cstdint>
using Poco::NumberParser;
@ -93,9 +92,6 @@ void NumberParserTest::testParse()
assert(NumberParser::parse64("-123") == -123);
assert(NumberParser::parse64("0123") == 123);
assert(NumberParser::parse64("-0123") == -123);
#if defined(POCO_ENABLE_CPP11)
assert(NumberParser::parse64("123456789123456789") == UINT64_C(123456789123456789));
#endif
assert(NumberParser::parseUnsigned64("123") == 123);
assert(NumberParser::parseHex64("12AB") == 0x12ab);
assert(NumberParser::parseOct64("123") == 0123);