Index: src/bin/initdb/initdb.c
===================================================================
RCS file: /projects/cvsroot/pgsql/src/bin/initdb/initdb.c,v
retrieving revision 1.63
diff -c -r1.63 initdb.c
*** src/bin/initdb/initdb.c	17 Oct 2004 21:04:41 -0000	1.63
--- src/bin/initdb/initdb.c	22 Oct 2004 19:48:23 -0000
***************
*** 1990,1996 ****
  	if (strlen(lc_monetary) == 0 || !chklocale(lc_monetary))
  		lc_monetary = xstrdup(setlocale(LC_MONETARY, NULL));
  	if (strlen(lc_messages) == 0 || !chklocale(lc_messages))
! #ifdef LC_MESSAGES
  	{
  		/* when available get the current locale setting */
  		lc_messages = xstrdup(setlocale(LC_MESSAGES, NULL));
--- 1990,1996 ----
  	if (strlen(lc_monetary) == 0 || !chklocale(lc_monetary))
  		lc_monetary = xstrdup(setlocale(LC_MONETARY, NULL));
  	if (strlen(lc_messages) == 0 || !chklocale(lc_messages))
! #if defined(LC_MESSAGES) && !defined(WIN32)
  	{
  		/* when available get the current locale setting */
  		lc_messages = xstrdup(setlocale(LC_MESSAGES, NULL));
