Skip to content
Snippets Groups Projects
Commit b7a76657 authored by Stephen R. van den Berg's avatar Stephen R. van den Berg
Browse files

Get rid of them pesky redefine warnings

Rev: src/modules/Postgres/acconfig.h:1.13
Rev: src/modules/Postgres/override.h:1.1
parent 4b690e5f
No related branches found
No related tags found
No related merge requests found
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
|| This file is part of Pike. For copyright information see COPYRIGHT. || This file is part of Pike. For copyright information see COPYRIGHT.
|| Pike is distributed under GPL, LGPL and MPL. See the file COPYING || Pike is distributed under GPL, LGPL and MPL. See the file COPYING
|| for more information. || for more information.
|| $Id: acconfig.h,v 1.12 2008/03/13 15:10:06 grubba Exp $ || $Id: acconfig.h,v 1.13 2008/07/04 20:11:00 srb Exp $
*/ */
#ifndef PIKE_POSTGRES_H #ifndef PIKE_POSTGRES_H
...@@ -61,6 +61,7 @@ ...@@ -61,6 +61,7 @@
/* postgres_fe.h should be used in preference to postgres.h in /* postgres_fe.h should be used in preference to postgres.h in
* client code. * client code.
*/ */
#include "override.h"
#ifdef HAVE_POSTGRESQL_SERVER_POSTGRES_FE_H #ifdef HAVE_POSTGRESQL_SERVER_POSTGRES_FE_H
#include <server/postgres_fe.h> #include <server/postgres_fe.h>
#elif defined(HAVE_SERVER_POSTGRES_FE_H) #elif defined(HAVE_SERVER_POSTGRES_FE_H)
......
/* These are defined inside the Postgres library headers as well.
* We don't want the redefine-warnings.
*/
#undef PACKAGE_BUGREPORT
#undef PACKAGE_NAME
#undef PACKAGE_STRING
#undef PACKAGE_TARNAME
#undef PACKAGE_VERSION
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment