view src/gdcm-1-nosecapi.patch @ 6190:d7c8660c55c4 release

of-signal: update to v1.4.2 * src/of-signal.mk: update version, checksum * src/of-signal-1-deprecated-warnings.patch: removed * src/of-signal-2-error_state.patch: removed * dist-files.mk: update for removed files (grafted from 4fcf129648a7b2ab0f6874a028f63cab4d0e2a0e)
author John Donoghue <john.donoghue@ieee.org>
date Sat, 23 Apr 2022 10:08:21 -0400
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>