Commit 8b4d5c75 authored by Peter Eisentraut's avatar Peter Eisentraut

Include locale.h before undefining gettext() to avoid compilation errors

on Solaris.

per report from Lee Kindness, 2001-10-23
parent 6f6d16ab
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California * Portions Copyright (c) 1994, Regents of the University of California
* *
* $Id: c.h,v 1.104 2001/10/19 15:38:57 tgl Exp $ * $Id: c.h,v 1.105 2001/10/24 21:49:14 petere Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -69,6 +69,9 @@ ...@@ -69,6 +69,9 @@
#include <SupportDefs.h> #include <SupportDefs.h>
#endif #endif
/* Must be before gettext() games below */
#include <locale.h>
#ifdef ENABLE_NLS #ifdef ENABLE_NLS
#include <libintl.h> #include <libintl.h>
#else #else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment