Mercurial > hg > orthanc
comparison 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 |
comparison
equal
deleted
inserted
replaced
1110:becde5351e47 | 1111:929bf8c2123d |
---|---|
73 | 73 |
74 #include "../Resources/ThirdParty/md5/md5.h" | 74 #include "../Resources/ThirdParty/md5/md5.h" |
75 #include "../Resources/ThirdParty/base64/base64.h" | 75 #include "../Resources/ThirdParty/base64/base64.h" |
76 | 76 |
77 | 77 |
78 #ifdef _MSC_VER | 78 #if defined(_MSC_VER) && (_MSC_VER < 1800) |
79 // Patch for the missing "_strtoll" symbol when compiling with Visual Studio | 79 // Patch for the missing "_strtoll" symbol when compiling with Visual Studio < 2013 |
80 extern "C" | 80 extern "C" |
81 { | 81 { |
82 int64_t _strtoi64(const char *nptr, char **endptr, int base); | 82 int64_t _strtoi64(const char *nptr, char **endptr, int base); |
83 int64_t strtoll(const char *nptr, char **endptr, int base) | 83 int64_t strtoll(const char *nptr, char **endptr, int base) |
84 { | 84 { |