mirror of
https://github.com/postgres/postgres.git
synced 2025-07-09 22:41:56 +03:00
Suppress "unused function" warning when not HAVE_LOCALE_T.
Forgot to consider this case ...
This commit is contained in:
@ -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 */
|
||||
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user