Mercurial > mxe-octave
view src/msvc-gettext-1.patch @ 3078:31241ea2a057
Updates for openblas compile
* src/openblas.mk: Add MAKE_OPTS to install call.
* src/suitesparse.mk: Fix typo on adding PKG_BLAS_LIB.
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Sun, 23 Jun 2013 09:45:35 -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