Mercurial > hg > orthanc
annotate Resources/Patches/glog-port-cc.diff @ 1740:5e99a70b0635
DicomToJson callable from plugins
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 22 Oct 2015 19:53:51 +0200 |
parents | 5bae1ac18ded |
children |
rev | line source |
---|---|
105 | 1 --- i/glog-0.3.2/src/windows/port.cc 2011-08-30 09:56:13.000000000 +0200 |
2 +++ port.cc 2012-10-03 17:11:54.000000000 +0200 | |
3 @@ -55,6 +55,7 @@ | |
4 return _vsnprintf(str, size-1, format, ap); | |
5 } | |
6 | |
7 +#if !defined(__MINGW32__) | |
8 int snprintf(char *str, size_t size, const char *format, ...) { | |
9 va_list ap; | |
10 va_start(ap, format); | |
11 @@ -62,3 +63,4 @@ | |
12 va_end(ap); | |
13 return r; | |
14 } | |
15 +#endif |