diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2011-09-20 17:47:21 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2011-09-20 17:47:43 -0400 |
commit | c47e62949840f670402cb470ce267e9ea2431992 (patch) | |
tree | 24b6623acb7f7552ad04849501feb867e8b6c03b | |
parent | 226bc87c2da98ebd9ac08d1677961cb5e7ea4e5a (diff) | |
download | postgresql-c47e62949840f670402cb470ce267e9ea2431992.tar.gz |
Suppress "unused function" warning when not HAVE_LOCALE_T.
Forgot to consider this case ...
-rw-r--r-- | src/backend/utils/adt/pg_locale.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/backend/utils/adt/pg_locale.c b/src/backend/utils/adt/pg_locale.c index 0491df1839..401440afae 100644 --- a/src/backend/utils/adt/pg_locale.c +++ b/src/backend/utils/adt/pg_locale.c @@ -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 */ /* |