Mercurial > hg > orthanc-wsi
comparison Framework/Orthanc/Resources/Patches/dcmtk-3.6.0-mingw64.patch @ 1:dc730d11b101
orthanc dependencies
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Sat, 22 Oct 2016 21:50:15 +0200 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
0:4a7a53257c7d | 1:dc730d11b101 |
---|---|
1 diff -urEb dcmtk-3.6.0.orig/ofstd/include/dcmtk/ofstd/offile.h dcmtk-3.6.0/ofstd/include/dcmtk/ofstd/offile.h | |
2 --- dcmtk-3.6.0.orig/ofstd/include/dcmtk/ofstd/offile.h 2010-12-17 11:50:30.000000000 +0100 | |
3 +++ dcmtk-3.6.0/ofstd/include/dcmtk/ofstd/offile.h 2013-07-19 15:56:25.688996134 +0200 | |
4 @@ -196,7 +196,7 @@ | |
5 OFBool popen(const char *command, const char *modes) | |
6 { | |
7 if (file_) fclose(); | |
8 -#ifdef _WIN32 | |
9 +#if 0 | |
10 file_ = _popen(command, modes); | |
11 #else | |
12 file_ = :: popen(command, modes); | |
13 @@ -258,7 +258,7 @@ | |
14 { | |
15 if (popened_) | |
16 { | |
17 -#ifdef _WIN32 | |
18 +#if 0 | |
19 result = _pclose(file_); | |
20 #else | |
21 result = :: pclose(file_); | |
22 Only in dcmtk-3.6.0/ofstd/include/dcmtk/ofstd: offile.h~ |