diff options
Diffstat (limited to 'cpp/include/IceUtil/InputUtil.h')
-rw-r--r-- | cpp/include/IceUtil/InputUtil.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/cpp/include/IceUtil/InputUtil.h b/cpp/include/IceUtil/InputUtil.h index b8a3a4757b5..9f9f47a80fb 100644 --- a/cpp/include/IceUtil/InputUtil.h +++ b/cpp/include/IceUtil/InputUtil.h @@ -20,6 +20,8 @@ namespace IceUtil #if defined(_WIN32) typedef __int64 Int64; + const Int64 INT64MIN = -9223372036854775808i64; + const Int64 INT64MAX = 9223372036854775807i64; #elif defined(__linux__) && defined(i386) typedef long long Int64; const Int64 INT64MIN = LONGLONG_MIN; @@ -28,8 +30,8 @@ namespace IceUtil # error "Unsupported operating system or platform!" #endif -Int64 strToInt64(const char*, char**, int); -bool stringToInt64(const std::string&, Int64&, std::string::size_type&); +ICE_UTIL_API Int64 strToInt64(const char*, char**, int); +ICE_UTIL_API bool stringToInt64(const std::string&, Int64&, std::string::size_type&); } |