Mercurial > hg > orthanc
changeset 650:3a74026fc1b1
patch for visual studio
author | jodogne |
---|---|
date | Wed, 30 Oct 2013 11:07:50 +0100 |
parents | 7446a8ae2fad |
children | 99fdd61d85bd |
files | OrthancServer/OrthancRestApi.cpp |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/OrthancServer/OrthancRestApi.cpp Wed Oct 30 10:28:50 2013 +0100 +++ b/OrthancServer/OrthancRestApi.cpp Wed Oct 30 11:07:50 2013 +0100 @@ -46,6 +46,10 @@ #include <boost/lexical_cast.hpp> #include <glog/logging.h> +#if defined(_MSC_VER) +#define snprintf _snprintf +#endif + static const uint64_t MEGA_BYTES = 1024 * 1024; static const uint64_t GIGA_BYTES = 1024 * 1024 * 1024;