diff options
| author | Bruce Momjian | 2003-05-16 01:57:52 +0000 |
|---|---|---|
| committer | Bruce Momjian | 2003-05-16 01:57:52 +0000 |
| commit | ec5e0ef79125698c0f717ce7d661c3b23f91deb0 (patch) | |
| tree | 1ba714241fdcc21024b56f7b377b35b0bfe5709e /src/include/c.h | |
| parent | 5e04f3857c9369351edbf8f906d1d8c2665c8a1f (diff) | |
Reorganize Win32 includes to only include <port.h> after system includes
under Win32. Also fix other compile issues.
Diffstat (limited to 'src/include/c.h')
| -rw-r--r-- | src/include/c.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/include/c.h b/src/include/c.h index f8df3a434c..6f3c690fbc 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.146 2003/05/15 23:39:27 tgl Exp $ + * $Id: c.h,v 1.147 2003/05/16 01:57:51 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -52,7 +52,9 @@ #include "pg_config.h" #include "pg_config_manual.h" /* must be after pg_config.h */ +#ifndef WIN32 #include "pg_config_os.h" /* must be before any system header files */ +#endif #include "postgres_ext.h" #include <stdio.h> @@ -71,6 +73,11 @@ #include <SupportDefs.h> #endif +#ifdef WIN32 +/* We have to redefine some system functions after they are included above */ +#include "pg_config_os.h" +#endif + /* Must be before gettext() games below */ #include <locale.h> |
