+2012-12-25 Daiki Ueno <ueno@gnu.org>
+
+ * intl-exports.c (IMP): Check __MINGW32__ as well as _WIN64.
+
2012-12-20 Daiki Ueno <ueno@gnu.org>
localecharset: respect the thread-specific locale on Mac OS X
along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* 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. */
+#if defined _WIN64 && defined __MINGW32__
+ /* mingw W64 started using __imp_ prefix for MSVC compatibility since
+ 2010. Ideally we should check the prefix in configure though,
+ we assume __imp_ on mingw W64 for the time being. */
# define IMP(x) __imp_##x
#else
# define IMP(x) _imp__##x
+2012-12-25 Daiki Ueno <ueno@gnu.org>
+
+ * woe32dll/export.h (IMP): Check __MINGW32__ as well as _WIN64.
+
2012-12-25 Daiki Ueno <ueno@gnu.org>
Work around error_* symbol conflict with Cygwin 1.7 DLL.
#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. */
+#if defined _WIN64 && defined __MINGW32__
+ /* mingw W64 started using __imp_ prefix for MSVC compatibility since
+ 2010. Ideally we should check the prefix in configure though,
+ we assume __imp_ on mingw W64 for the time being. */
# define IMP(x) __imp_##x
#else
# define IMP(x) _imp__##x