summaryrefslogtreecommitdiff
path: root/cpp/include/IceUtil/InputUtil.h
diff options
context:
space:
mode:
authorMichi Henning <michi@zeroc.com>2002-07-08 06:11:54 +0000
committerMichi Henning <michi@zeroc.com>2002-07-08 06:11:54 +0000
commitf86657da4676ebbc5f539939248f33b7fff57ee4 (patch)
tree05b5113fc51586714bd97e719f7e1d1532fec1b8 /cpp/include/IceUtil/InputUtil.h
parentRe-added inpututil.dsp with -kb flag. (diff)
downloadice-f86657da4676ebbc5f539939248f33b7fff57ee4.tar.bz2
ice-f86657da4676ebbc5f539939248f33b7fff57ee4.tar.xz
ice-f86657da4676ebbc5f539939248f33b7fff57ee4.zip
Fixed Windows side of things for stringToInt64().
Diffstat (limited to 'cpp/include/IceUtil/InputUtil.h')
-rw-r--r--cpp/include/IceUtil/InputUtil.h6
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&);
}