Mercurial > mxe-octave
view src/msvc-gettext-1.patch @ 3248:e8240c0feedd
Update mingw requirements for bsdtar
* index.html: change bsdcpio to msys-bsdtar in mingw/mysys requirments.
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Fri, 20 Sep 2013 21:06:39 -0400 |
parents | f8299bb6c872 |
children | 67bcfe6539c7 |
line wrap: on
line source
diff -ur gettext-0.18.2-orig/gettext-runtime/intl/export.h gettext-0.18.2/gettext-runtime/intl/export.h --- gettext-0.18.2-orig/gettext-runtime/intl/export.h 2012-12-04 01:28:58 -0500 +++ gettext-0.18.2/gettext-runtime/intl/export.h 2013-06-15 22:18:02 -0400 @@ -2,5 +2,13 @@ #if @HAVE_VISIBILITY@ && BUILDING_LIBINTL #define LIBINTL_DLL_EXPORTED __attribute__((__visibility__("default"))) #else +#ifdef _MSC_VER +#ifdef BUILDING_LIBINTL +#define LIBINTL_DLL_EXPORTED __declspec(dllexport) +#else +#define LIBINTL_DLL_EXPORTED __declspec(dllimport) +#endif +#else #define LIBINTL_DLL_EXPORTED #endif +#endif