Mercurial > hg > orthanc
annotate Resources/Patches/glog-port-cc.diff @ 1918:e8c2f993f6b3
fix case for HTTP headers keys in OrthancPluginRestApiGet2
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 12 Feb 2016 15:08:13 +0100 |
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 |