From f51edef5d3b514bdc891d4a73ed812cd30312666 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 5 Jan 2020 20:15:46 +0100 Subject: [PATCH] build: Fix build error on MSVC with --disable-shared. * gettext-tools/configure.ac (AH_BOTTOM): On MSVC with --disable-shared, even when compiling with option -MD, define DLL_VARIABLE to empty. --- gettext-tools/configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gettext-tools/configure.ac b/gettext-tools/configure.ac index d58b86ed2..925dbf799 100644 --- a/gettext-tools/configure.ac +++ b/gettext-tools/configure.ac @@ -1,5 +1,5 @@ dnl Configuration for the gettext-tools directory of GNU gettext -dnl Copyright (C) 1995-2019 Free Software Foundation, Inc. +dnl Copyright (C) 1995-2020 Free Software Foundation, Inc. dnl dnl This program is free software: you can redistribute it and/or modify dnl it under the terms of the GNU General Public License as published by @@ -330,7 +330,7 @@ AH_BOTTOM([ #define PAGE_WIDTH 79 /* On Windows, variables that may be in a DLL must be marked specially. */ -#if ((defined _MSC_VER && defined _DLL) || defined WOE32DLL) && !defined IN_RELOCWRAPPER +#if defined WOE32DLL && !defined IN_RELOCWRAPPER # define DLL_VARIABLE __declspec (dllimport) #else # define DLL_VARIABLE -- 2.47.2