提交 2562dcea 编写于 作者: T Tom Lane

Suppress "unused function" warning when not HAVE_LOCALE_T.

Forgot to consider this case ...
上级 37d4fd2b
......@@ -937,6 +937,7 @@ lc_ctype_is_c(Oid collation)
/* simple subroutine for reporting errors from newlocale() */
#ifdef HAVE_LOCALE_T
static void
report_newlocale_failure(const char *localename)
{
......@@ -955,6 +956,7 @@ report_newlocale_failure(const char *localename)
errdetail("The operating system could not find any locale data for the locale name \"%s\".",
localename) : 0)));
}
#endif /* HAVE_LOCALE_T */
/*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册