mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-02-05 19:09:58 +08:00
Suppress "unused function" warning when not HAVE_LOCALE_T.
Forgot to consider this case ...
This commit is contained in:
parent
37d4fd2b9d
commit
2562dcea81
@ -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 */
|
||||
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user