# HG changeset patch # User jodogne # Date 1383127670 -3600 # Node ID 3a74026fc1b1e02a1504751406672b5d920ea0a1 # Parent 7446a8ae2fade4604d85e538c97289db5f9a7584 patch for visual studio diff -r 7446a8ae2fad -r 3a74026fc1b1 OrthancServer/OrthancRestApi.cpp --- 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 #include +#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;