d7f2202002-10-11Martin Nilsson /* -*- c -*- || This file is part of Pike. For copyright information see COPYRIGHT. || Pike is distributed under GPL, LGPL and MPL. See the file COPYING || for more information. */
53f41a2008-03-13Henrik Grubbström (Grubba) #ifndef PIKE_POSTGRES_H
e4bc341997-10-15Francesco Chemolli #undef STDC_HEADERS
56122a2003-01-09Marcus Comstedt @TOP@ @BOTTOM@
7f68412007-01-28Peter Bortas /* Define if postgres passed sanity tests. */ #undef HAVE_WORKING_POSTGRES
933a842001-11-14Henrik Grubbström (Grubba) /* If the PQsetnonblocking function is available, it means we're using * PostgreSQL 7.x or newer. This, in turn, means that the interface is * thread-safe on a per-connection level (as opposed to non-threadsafe). */ #ifdef HAVE_PQSETNONBLOCKING # define PQ_THREADSAFE 1 #endif
e4bc341997-10-15Francesco Chemolli  /* End of autoconfigurable section */
a343df2008-08-01Martin Stjernholm #ifdef HAVE_WORKING_POSTGRES
e4bc341997-10-15Francesco Chemolli #define HAVE_POSTGRES
6147282003-12-18Henrik Grubbström (Grubba) 
977be92003-12-21Henrik Grubbström (Grubba) /* This is needed to avoid broken <openssl/kssl.h> headerfiles. */ #define OPENSSL_NO_KRB5
d305482008-03-13Henrik Grubbström (Grubba) /* This is needed to avoid broken prototypes for some builtin functions * (cf <server/port.h>). We don't care about the prototypes, since * we won't use those functions in this module anyway. * /grubba 2008-03-13 */ #define HAVE_CRYPT 1 #define HAVE_GETOPT 1 #define HAVE_ISINF 1 #define HAVE_STRDUP 1 #define HAVE_RANDOM 1 #define HAVE_UNSETENV 1 #define HAVE_SRANDOM 1
6147282003-12-18Henrik Grubbström (Grubba) /* Time to include stuff. */
b7a7662008-07-04Stephen R. van den Berg #include "override.h"
6147282003-12-18Henrik Grubbström (Grubba) #include <libpq-fe.h> #endif
53f41a2008-03-13Henrik Grubbström (Grubba) #endif /* !PIKE_POSTGRES_H */