1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-21 00:42:43 +03:00

Make use of configure symbols for unportable constructs. Make

inclusions of system headers more consistent.
This commit is contained in:
Tom Lane
2000-03-30 05:30:42 +00:00
parent 67cee15367
commit 0a5a0b8dfd
4 changed files with 24 additions and 16 deletions

View File

@@ -13,7 +13,7 @@
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
* Portions Copyright (c) 1994, Regents of the University of California
*
* $Id: pgconnection.h,v 1.4 2000/03/02 02:00:58 momjian Exp $
* $Id: pgconnection.h,v 1.5 2000/03/30 05:30:42 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -21,14 +21,23 @@
#ifndef PGCONN_H
#define PGCONN_H
#include <stdio.h>
extern "C" {
#include "config.h"
}
#ifdef HAVE_CXX_STRING_HEADER
#include <string>
#endif
extern "C" {
#include "postgres.h"
#include "libpq-fe.h"
}
#ifdef HAVE_NAMESPACE_STD
using namespace std;
#endif
// ****************************************************************
//