view src/gdcm-1-nosecapi.patch @ 4570:ddd228f155af

openssl: update to v1.0.2m * src/openssl-1-fixes.patch: update from mxe.cc * src/openssl.mk: update version, checksum * src/mingw-openssl-3-libdeps.patch: removed file * dist-files.mk: remove ref to mingw-openssl-3-libdeps.patch
author John D
date Tue, 05 Dec 2017 07:53:05 -0500
parents 15551fc621fa
children
line wrap: on
line source

diff -ur gdcm-2.0.19.orig/Source/Common/gdcmException.h gdcm-2.0.19/Source/Common/gdcmException.h
--- gdcm-2.0.19.orig/Source/Common/gdcmException.h	2014-07-26 11:45:31 -0400
+++ gdcm-2.0.19/Source/Common/gdcmException.h	2014-07-26 11:57:11 -0400
@@ -14,6 +14,13 @@
 #ifndef GDCMEXCEPTION_H
 #define GDCMEXCEPTION_H
 
+#ifdef __MINGW32__
+  #include <_mingw.h>
+  #ifdef MINGW_HAS_SECURE_API
+    #undef MINGW_HAS_SECURE_API
+  #endif
+#endif
+
 #include <cassert>
 #include <cstdlib> // NULL
 #include <exception>