Mercurial > hg > orthanc
diff Core/Toolbox.cpp @ 1111:929bf8c2123d
Fixes for Visual Studio 2013 64bit
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 01 Sep 2014 11:23:13 +0200 |
parents | bec1eccf976c |
children | 0479d02c6778 |
line wrap: on
line diff
--- a/Core/Toolbox.cpp Mon Sep 01 11:11:00 2014 +0200 +++ b/Core/Toolbox.cpp Mon Sep 01 11:23:13 2014 +0200 @@ -75,8 +75,8 @@ #include "../Resources/ThirdParty/base64/base64.h" -#ifdef _MSC_VER -// Patch for the missing "_strtoll" symbol when compiling with Visual Studio +#if defined(_MSC_VER) && (_MSC_VER < 1800) +// Patch for the missing "_strtoll" symbol when compiling with Visual Studio < 2013 extern "C" { int64_t _strtoi64(const char *nptr, char **endptr, int base);