Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit2562dce

Browse files
committed
Suppress "unused function" warning when not HAVE_LOCALE_T.
Forgot to consider this case ...
1 parent37d4fd2 commit2562dce

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎src/backend/utils/adt/pg_locale.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -937,6 +937,7 @@ lc_ctype_is_c(Oid collation)
937937

938938

939939
/* simple subroutine for reporting errors from newlocale() */
940+
#ifdefHAVE_LOCALE_T
940941
staticvoid
941942
report_newlocale_failure(constchar*localename)
942943
{
@@ -955,6 +956,7 @@ report_newlocale_failure(const char *localename)
955956
errdetail("The operating system could not find any locale data for the locale name \"%s\".",
956957
localename) :0)));
957958
}
959+
#endif/* HAVE_LOCALE_T */
958960

959961

960962
/*

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp