*** pgsql/src/backend/utils/mb/mbutils.c 2009/03/08 18:10:16 1.81 --- pgsql/src/backend/utils/mb/mbutils.c 2009/03/09 00:01:32 1.82 *************** *** 4,10 **** * (currently mule internal code (mic) is used) * Tatsuo Ishii * ! * $PostgreSQL: pgsql/src/backend/utils/mb/mbutils.c,v 1.80 2009/03/08 16:07:12 alvherre Exp $ */ #include "postgres.h" --- 4,10 ---- * (currently mule internal code (mic) is used) * Tatsuo Ishii * ! * $PostgreSQL: pgsql/src/backend/utils/mb/mbutils.c,v 1.81 2009/03/08 18:10:16 alvherre Exp $ */ #include "postgres.h" *************** SetDatabaseEncoding(int encoding) *** 900,910 **** * On Windows, we need to explicitly bind gettext to the correct * encoding, because gettext() tends to get confused. */ - #ifdef ENABLE_NLS void pg_bind_textdomain_codeset(const char *domainname, int encoding) { ! #ifdef WIN32 int i; for (i = 0; i < lengthof(codeset_map_array); i++) --- 900,909 ---- * On Windows, we need to explicitly bind gettext to the correct * encoding, because gettext() tends to get confused. */ void pg_bind_textdomain_codeset(const char *domainname, int encoding) { ! #if defined(ENABLE_NLS) && defined(WIN32) int i; for (i = 0; i < lengthof(codeset_map_array); i++) *************** pg_bind_textdomain_codeset(const char *d *** 919,925 **** } #endif } - #endif void SetDefaultClientEncoding(void) --- 918,923 ----