diff options
| author | Alvaro Herrera | 2009-03-08 18:10:17 +0000 |
|---|---|---|
| committer | Alvaro Herrera | 2009-03-08 18:10:17 +0000 |
| commit | 4022f94c24e8b5567f7ea3b483569c63903382d2 (patch) | |
| tree | 8d55e73eb2a14753c543af4f6b34ea584b3acd7e /src/include | |
| parent | fb2ebae498d81ccb0ff28227bc20f908d4450e3c (diff) | |
pg_bind_textdomain_codeset must exist only on ENABLE_NLS.
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/mb/pg_wchar.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/include/mb/pg_wchar.h b/src/include/mb/pg_wchar.h index 9d37191eaba..37089e2cb0c 100644 --- a/src/include/mb/pg_wchar.h +++ b/src/include/mb/pg_wchar.h @@ -6,7 +6,7 @@ * Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/mb/pg_wchar.h,v 1.85 2009/03/08 16:07:12 alvherre Exp $ + * $PostgreSQL: pgsql/src/include/mb/pg_wchar.h,v 1.86 2009/03/08 18:10:17 alvherre Exp $ * * NOTES * This is used both by the backend and by libpq, but should not be @@ -392,7 +392,9 @@ extern const char *pg_get_client_encoding_name(void); extern void SetDatabaseEncoding(int encoding); extern int GetDatabaseEncoding(void); extern const char *GetDatabaseEncodingName(void); +#ifdef ENABLE_NLS extern void pg_bind_textdomain_codeset(const char *domainname, int encoding); +#endif extern int pg_valid_client_encoding(const char *name); extern int pg_valid_server_encoding(const char *name); |
