From 7ce89d4a24647a7f8d9c9d5321750daef27caafe Mon Sep 17 00:00:00 2001 From: jez <> Date: Mon, 15 Jan 2007 17:40:58 +0000 Subject: [PATCH] initialise wide string properly --- m4/has_std_wstring.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/m4/has_std_wstring.m4 b/m4/has_std_wstring.m4 index 54d07757..6233e142 100644 --- a/m4/has_std_wstring.m4 +++ b/m4/has_std_wstring.m4 @@ -2,7 +2,7 @@ AC_DEFUN([ARABICA_HAS_STD_WSTRING], [ AC_MSG_CHECKING([for std::wstring support]) AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include ]], - [[std::wcout << std::wstring("test");]])], + [[std::wcout << std::wstring(L"test");]])], [AS_VAR_SET(wchar_t_available, yes)], [AS_VAR_SET(wchar_t_available, no)]) AC_MSG_RESULT($wchar_t_available)