]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Fix test failure on MSVC.
authorBruno Haible <bruno@clisp.org>
Sat, 20 Jul 2019 12:32:33 +0000 (14:32 +0200)
committerBruno Haible <bruno@clisp.org>
Mon, 13 Apr 2020 10:53:19 +0000 (12:53 +0200)
* gettext-tools/tests/lang-c++: On MSVC, use <iostream>, not <iostream.h>.

gettext-tools/tests/lang-c++

index f2b72ac19760a4f9fbadc68d14b0bf183139982f..d5ed00a4363f2ccd932a580bd40b3d4b5673435f 100755 (executable)
@@ -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 <iostream>
 using namespace std;
 #else