From: Bruno Haible Date: Sat, 20 Jul 2019 12:32:33 +0000 (+0200) Subject: Fix test failure on MSVC. X-Git-Tag: v0.20.2~57 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5736b57addcedb929b76f087c3e5950af6cdf1cd;p=thirdparty%2Fgettext.git Fix test failure on MSVC. * gettext-tools/tests/lang-c++: On MSVC, use , not . --- diff --git a/gettext-tools/tests/lang-c++ b/gettext-tools/tests/lang-c++ index f2b72ac19..d5ed00a43 100755 --- a/gettext-tools/tests/lang-c++ +++ b/gettext-tools/tests/lang-c++ @@ -23,7 +23,7 @@ cat <<\EOF > prog.cc #include "config.h" /* Avoid deprecation warnings from g++ 3.1 or newer. */ -#if defined __GNUG__ && defined __DEPRECATED +#if (defined __GNUG__ && defined __DEPRECATED) || defined _MSC_VER # include using namespace std; #else