Skip to content

Commit 5e04f38

Browse files
committed
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.
1 parent 9e43184 commit 5e04f38

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/include/c.h

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
1313
* Portions Copyright (c) 1994, Regents of the University of California
1414
*
15-
* $Id: c.h,v 1.145 2003/05/15 16:35:29 momjian Exp $
15+
* $Id: c.h,v 1.146 2003/05/15 23:39:27 tgl Exp $
1616
*
1717
*-------------------------------------------------------------------------
1818
*/
@@ -52,6 +52,7 @@
5252

5353
#include "pg_config.h"
5454
#include "pg_config_manual.h" /* must be after pg_config.h */
55+
#include "pg_config_os.h" /* must be before any system header files */
5556
#include "postgres_ext.h"
5657

5758
#include <stdio.h>
@@ -70,9 +71,6 @@
7071
#include <SupportDefs.h>
7172
#endif
7273

73-
/* Must be here so we can redefine some functions on Win32 */
74-
#include "pg_config_os.h"
75-
7674
/* Must be before gettext() games below */
7775
#include <locale.h>
7876

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy