|
39 | 39 | * Portions Copyright (c) 1994, Regents of the University of California
|
40 | 40 | * Portions taken from FreeBSD.
|
41 | 41 | *
|
42 |
| - * $PostgreSQL: pgsql/src/bin/initdb/initdb.c,v 1.63 2004/10/17 21:04:41 petere Exp $ |
| 42 | + * $PostgreSQL: pgsql/src/bin/initdb/initdb.c,v 1.64 2004/10/22 22:30:57 tgl Exp $ |
43 | 43 | *
|
44 | 44 | *-------------------------------------------------------------------------
|
45 | 45 | */
|
@@ -1990,7 +1990,7 @@ setlocales(void)
|
1990 | 1990 | if (strlen(lc_monetary)==0|| !chklocale(lc_monetary))
|
1991 | 1991 | lc_monetary=xstrdup(setlocale(LC_MONETARY,NULL));
|
1992 | 1992 | if (strlen(lc_messages)==0|| !chklocale(lc_messages))
|
1993 |
| -#ifdefLC_MESSAGES |
| 1993 | +#if defined(LC_MESSAGES)&& !defined(WIN32) |
1994 | 1994 | {
|
1995 | 1995 | /* when available get the current locale setting */
|
1996 | 1996 | lc_messages=xstrdup(setlocale(LC_MESSAGES,NULL));
|
|