Mercurial > hg > orthanc
annotate Resources/Patches/glog-port-cc.diff @ 445:7816aaa5db17
merge
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 17 May 2013 17:32:16 +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 |