view src/gdcm-1-nosecapi.patch @ 6519:77267b0c5bc8 release

octave: Update version numbers after merge in Octave repository. * src/default-octave.mk: Update version number to 9.0.0. * src/stable-octave.mk: Update version number to 8.0.1. Merge changes in build rule from default-octave.mk.
author Markus Mützel <markus.muetzel@gmx.de>
date Wed, 16 Nov 2022 08:25:43 +0100
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>