view src/gdcm-1-nosecapi.patch @ 3912:52abc9be09fa

of-dataframe: add to mxe * src/of-dataframe.mk: new file * src/of-dataframe-1-fixes.patch: new file * dist-files.mk: add of-dataframe.mk of-dataframe--fixes.patch * index.html: add of-dataframe * Makefile.am: add of-dataframe * build_packages.m: add dataframe package
author John Donoghue <john.donoghue@ieee.org>
date Wed, 22 Apr 2015 19:15:12 -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>