Mercurial > mxe-octave
comparison src/gdcm-1-nosecapi.patch @ 3666:15551fc621fa
gdcm: add patch for native ming
* src/gdcm-1-nosecapi.patch: new file
* dist-files.mk: add gdcm-1-nosecapi.patch
author | John Donoghue |
---|---|
date | Sat, 26 Jul 2014 12:32:10 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
3665:d28dcb8df4eb | 3666:15551fc621fa |
---|---|
1 diff -ur gdcm-2.0.19.orig/Source/Common/gdcmException.h gdcm-2.0.19/Source/Common/gdcmException.h | |
2 --- gdcm-2.0.19.orig/Source/Common/gdcmException.h 2014-07-26 11:45:31 -0400 | |
3 +++ gdcm-2.0.19/Source/Common/gdcmException.h 2014-07-26 11:57:11 -0400 | |
4 @@ -14,6 +14,13 @@ | |
5 #ifndef GDCMEXCEPTION_H | |
6 #define GDCMEXCEPTION_H | |
7 | |
8 +#ifdef __MINGW32__ | |
9 + #include <_mingw.h> | |
10 + #ifdef MINGW_HAS_SECURE_API | |
11 + #undef MINGW_HAS_SECURE_API | |
12 + #endif | |
13 +#endif | |
14 + | |
15 #include <cassert> | |
16 #include <cstdlib> // NULL | |
17 #include <exception> |