Mercurial > hg > orthanc
comparison Core/Toolbox.cpp @ 568:3f27814104f7 laaw
compile with msvc
author | jodogne |
---|---|
date | Wed, 25 Sep 2013 12:45:33 +0200 |
parents | 8c3573d28868 |
children | 86c5bb651bfa |
comparison
equal
deleted
inserted
replaced
566:6a3e2ca7a7a0 | 568:3f27814104f7 |
---|---|
66 #include "../Resources/md5/md5.h" | 66 #include "../Resources/md5/md5.h" |
67 #include "../Resources/base64/base64.h" | 67 #include "../Resources/base64/base64.h" |
68 #include "../Resources/sha1/sha1.h" | 68 #include "../Resources/sha1/sha1.h" |
69 | 69 |
70 | 70 |
71 #ifdef _MSC_VER | |
72 // Patch for the missing "_strtoll" symbol when compiling with Visual Studio | |
73 extern "C" | |
74 { | |
75 int64_t _strtoi64(const char *nptr, char **endptr, int base); | |
76 int64_t strtoll(const char *nptr, char **endptr, int base) | |
77 { | |
78 return _strtoi64(nptr, endptr, base); | |
79 } | |
80 } | |
81 #endif | |
82 | |
83 | |
71 #if BOOST_HAS_LOCALE == 0 | 84 #if BOOST_HAS_LOCALE == 0 |
72 namespace | 85 namespace |
73 { | 86 { |
74 class IconvRabi | 87 class IconvRabi |
75 { | 88 { |