+2012-12-21 Daiki Ueno <ueno@gnu.org>
+
+ Fix W64 build errors.
+ * autogen.sh (GNULIB_MODULES_LIBASPRINTF): Add extern-inline, for
+ the last xsize.h update.
+ (GNULIB_MODULES_TOOLS_FOR_SRC_COMMON_DEPENDENCIES): Add locale,
+ not to have copies of locale.h in both libgrep and gnulib-lib.
+ (GNULIB_MODULES_LIBGETTEXTPO): Add close.
+
2012-12-08 Daiki Ueno <ueno@unixuser.org>
* autogen.sh: Ignore libunistring tests which are known to fail.
alloca
errno
verify
+ extern-inline
'
GNULIB_MODULES_LIBASPRINTF_OTHER='
'
extensions
gettext-h
include_next
+ locale
localcharset
malloc-posix
mbrtowc
# This is a subset of the GNULIB_MODULES_FOR_SRC.
GNULIB_MODULES_LIBGETTEXTPO='
basename
+ close
c-ctype
c-strcase
c-strstr
+2012-12-21 Daiki Ueno <ueno@gnu.org>
+
+ Fix W64 build errors.
+ * intl-exports.c (IMP) [_WIN64]: Prefix "__imp_" instead of
+ "_imp__".
+ * osdep.c: Include intl-exports.c on mingw as well as Cygwin.
+
2012-12-10 Daiki Ueno <ueno@unixuser.org>
* intl-compat.c: Fix typo in the copyright header.
along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* IMP(x) is a symbol that contains the address of x. */
-#define IMP(x) _imp__##x
+#if _WIN64
+ /* mingw W64 changed the symbol prefix from W32 for MSVC
+ compatibility. See the comments in
+ mingw-w64-headers/crt/_mingw_mac.h for more details. */
+# define IMP(x) __imp_##x
+#else
+# define IMP(x) _imp__##x
+#endif
/* Ensure that the variable x is exported from the library, and that a
pseudo-variable IMP(x) is available. */
You should have received a copy of the GNU Lesser General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#if defined __CYGWIN__
+#if defined __CYGWIN__ || defined __MINGW32__
# include "intl-exports.c"
#elif defined __EMX__
# include "os2compat.c"
+2012-12-21 Daiki Ueno <ueno@gnu.org>
+
+ Fix W64 build errors.
+ * woe32dll/export.h (IMP) [_WIN64]: Prefix "__imp_" instead of
+ "_imp__".
+
2012-12-17 Daiki Ueno <ueno@unixuser.org>
* configure.ac: Use AC_CONFIG_HEADERS instead of AM_CONFIG_HEADER.
#if defined __GNUC__ /* GCC compiler, GNU toolchain */
/* IMP(x) is a symbol that contains the address of x. */
+#if _WIN64
+ /* mingw W64 changed the symbol prefix from W32 for MSVC
+ compatibility. See the comments in
+ mingw-w64-headers/crt/_mingw_mac.h for more details. */
+# define IMP(x) __imp_##x
+#else
# define IMP(x) _imp__##x
+#endif
/* Ensure that the variable x is exported from the library, and that a
pseudo-variable IMP(x) is available. */