From 5e04f3857c9369351edbf8f906d1d8c2665c8a1f Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Thu, 15 May 2003 23:39:27 +0000 Subject: [PATCH] Revert change of inclusion order for pg_config_os.h; this broke plperl on Linux and would have who knows what unpleasant effects on other platforms. If you need another include file for Windows, then add it; don't go messing with the semantics of every other port's include files. --- src/include/c.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/include/c.h b/src/include/c.h index 4daa40d5d55..f8df3a434c9 100644 --- a/src/include/c.h +++ b/src/include/c.h @@ -12,7 +12,7 @@ * Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: c.h,v 1.145 2003/05/15 16:35:29 momjian Exp $ + * $Id: c.h,v 1.146 2003/05/15 23:39:27 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -52,6 +52,7 @@ #include "pg_config.h" #include "pg_config_manual.h" /* must be after pg_config.h */ +#include "pg_config_os.h" /* must be before any system header files */ #include "postgres_ext.h" #include @@ -70,9 +71,6 @@ #include #endif -/* Must be here so we can redefine some functions on Win32 */ -#include "pg_config_os.h" - /* Must be before gettext() games below */ #include