Failed to compile on Win32 with --enable locale

Ronald Kuczek <ronald@breitenbach-it.de>

From: Ronald Kuczek <ronald@breitenbach-it.de>
To: "'pgsql-bugs@postgresql.org'" <pgsql-bugs@postgresql.org>
Cc: "Hork Daniel [horak@sit.plzen-city.cz] (E-Mail)" <horak@sit.plzen-city.cz>
Date: 2000-09-12T07:51:16Z
Lists: pgsql-bugs
Your name		:	Ronald Kuczek
Your email address	:           ronald@breitenbach-it.de


System Configuration
---------------------
  Architecture (example: Intel Pentium)  	: Intel Pentium

  Operating System (example: Linux 2.0.26 ELF) 	: Windows NT 4.0 Workstation

  PostgreSQL version (example: PostgreSQL-7.0):   PostgreSQL-7.0.2

  Compiler used (example:  gcc 2.8.0)		: cygwin 1.1.x


Please enter a FULL description of your problem:
------------------------------------------------
I enabled --enable-locale and --enable-multibyte with configure script.
Compilation failed with errors:
in file ../src/backend/utils/adt/pg_locale.c
undeclared identifier LC_MESSAGES



Please describe a way to repeat the problem.   Please try to provide a
concise reproducible example, if at all possible: 
----------------------------------------------------------------------
configure --enable-locale --enable-multibyte
make



If you know how this problem might be fixed, list the solution below:
---------------------------------------------------------------------
I don't know, if I did correct, I have modified file /usr/include/locale.h (in cygwin directory)
and added
#define LC_MESSAGES 6
Now I have compiled succesfull.

Best regards
Rony