diff options
author | Bernard Normier <bernard@zeroc.com> | 2014-07-24 18:50:20 -0400 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2014-07-24 18:50:20 -0400 |
commit | 2afc67db3fa6f87538bb927b9621a351948883a4 (patch) | |
tree | 4324c78515e48615e082658d80fef0a0638f162c /cpp/src/IceUtil/OutputUtil.cpp | |
parent | Completed fix for ICE-5567: move various C++11 classes/functions out of line (diff) | |
download | ice-2afc67db3fa6f87538bb927b9621a351948883a4.tar.bz2 ice-2afc67db3fa6f87538bb927b9621a351948883a4.tar.xz ice-2afc67db3fa6f87538bb927b9621a351948883a4.zip |
Build fixes for MinGW 4.7.2-32
Diffstat (limited to 'cpp/src/IceUtil/OutputUtil.cpp')
-rw-r--r-- | cpp/src/IceUtil/OutputUtil.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/cpp/src/IceUtil/OutputUtil.cpp b/cpp/src/IceUtil/OutputUtil.cpp index e1fe349cf61..9475a80c143 100644 --- a/cpp/src/IceUtil/OutputUtil.cpp +++ b/cpp/src/IceUtil/OutputUtil.cpp @@ -34,12 +34,9 @@ string IceUtilInternal::int64ToString(Int64 val) { char buf[64]; -#ifdef _WIN32 -# if defined(_MSC_VER) + +#if defined(_WIN32) sprintf_s(buf, sizeof(buf), "%I64d", val); -# else - sprintf(buf, "%I64d", val); -# endif #elif defined(ICE_64) sprintf(buf, "%ld", val); // Avoids a format warning from GCC. #else |