Mercurial > mxe-octave
view src/gdcm-2-getopt.patch @ 6215:d18a5545df0d release
build-gettext: Don't build emacs bindings.
* src/build-gettext.mk: The `emacs` installed on the build system might be
incompatible with the STL built by build-gcc. We probably don't need the emacs
bindings for the `gettext` build tool anyway. So skip building those bindings.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Sat, 07 May 2022 12:01:10 +0200 |
parents | b74d8780f177 |
children |
line wrap: on
line source
--- gdcm-3.0.8/Utilities/getopt/getopt.h.orig 2020-10-13 09:40:48.964337600 +0300 +++ gdcm-3.0.8/Utilities/getopt/getopt.h 2020-10-13 09:40:38.576190500 +0300 @@ -67,13 +67,7 @@ #define GETOPT_EXPORT #endif /*defined(WIN32)*/ -#if defined(_WIN32) && defined(GETOPT_DLL) - #if defined(gdcmgetopt_EXPORTS) - #define GETOPT_EXTERN __declspec( dllexport ) - #else - #define GETOPT_EXTERN __declspec( dllimport ) - #endif -#else +#if defined(_WIN32) #define GETOPT_EXTERN extern #endif /*defined(WIN32)*/