diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2001-09-30 22:30:37 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2001-09-30 22:30:37 +0000 |
commit | 95d4821b1cc56f834b1d901bb9f0bdaf43ff8cc0 (patch) | |
tree | 0e1c01704739133904a7c8ff9f819cb4ef8ffafb /src/interfaces/libpq++/pgconnection.h | |
parent | 958808426372a0bb0f5aa0ed8d455c753e6b338a (diff) | |
download | postgresql-95d4821b1cc56f834b1d901bb9f0bdaf43ff8cc0.tar.gz postgresql-95d4821b1cc56f834b1d901bb9f0bdaf43ff8cc0.zip |
Make libpq++ safe again for older C++ compilers. Do 'using namespace std'
only if configure found it was safe to do so; do not assume const_cast
is available.
Diffstat (limited to 'src/interfaces/libpq++/pgconnection.h')
-rw-r--r-- | src/interfaces/libpq++/pgconnection.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/interfaces/libpq++/pgconnection.h b/src/interfaces/libpq++/pgconnection.h index 7d8ca2c52bf..217006f3b72 100644 --- a/src/interfaces/libpq++/pgconnection.h +++ b/src/interfaces/libpq++/pgconnection.h @@ -13,7 +13,7 @@ * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: pgconnection.h,v 1.13 2001/08/24 14:07:49 petere Exp $ + * $Id: pgconnection.h,v 1.14 2001/09/30 22:30:37 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -96,9 +96,6 @@ private: }; -#ifdef HAVE_NAMESPACE_STD #undef PGSTD -#endif - #endif // PGCONNECTION_H |