Mercurial > hg > orthanc
diff Core/Toolbox.cpp @ 570:86c5bb651bfa laaw
fix
author | jodogne |
---|---|
date | Wed, 25 Sep 2013 14:01:01 +0200 |
parents | 3f27814104f7 |
children | 2737806bcf60 |
line wrap: on
line diff
--- a/Core/Toolbox.cpp Wed Sep 25 13:18:19 2013 +0200 +++ b/Core/Toolbox.cpp Wed Sep 25 14:01:01 2013 +0200 @@ -68,16 +68,16 @@ #include "../Resources/sha1/sha1.h" -#ifdef _MSC_VER -// Patch for the missing "_strtoll" symbol when compiling with Visual Studio -extern "C" -{ -int64_t _strtoi64(const char *nptr, char **endptr, int base); -int64_t strtoll(const char *nptr, char **endptr, int base) -{ - return _strtoi64(nptr, endptr, base); -} -} +#ifdef _MSC_VER +// Patch for the missing "_strtoll" symbol when compiling with Visual Studio +extern "C" +{ +int64_t _strtoi64(const char *nptr, char **endptr, int base); +int64_t strtoll(const char *nptr, char **endptr, int base) +{ + return _strtoi64(nptr, endptr, base); +} +} #endif