summaryrefslogtreecommitdiff
path: root/setup.c
diff options
context:
space:
mode:
authorDave Page2005-07-13 14:23:36 +0000
committerDave Page2005-07-13 14:23:36 +0000
commit35b56ef9573e817549281ff20d031bae57ec81e8 (patch)
tree570c522cb81be4e5af54dcab8c2e0975278d3773 /setup.c
parent581bb23b97cb9eb547974e2ba5bebc5ce2961226 (diff)
New version of the driver with libpq based comms layer, courtesy of Anoop Kumar of Pervasive PostgreSQL. Version number bumped, and extra strings modified in the resource file to make it obvious when the libpq version of the driver is being run.
Diffstat (limited to 'setup.c')
-rw-r--r--setup.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/setup.c b/setup.c
index 2ed8d0a..69dcff8 100644
--- a/setup.c
+++ b/setup.c
@@ -15,7 +15,12 @@
#include "psqlodbc.h"
+#ifdef USE_LIBPQ
+#include "libpqconnection.h"
+#else
#include "connection.h"
+#endif /* USE_LIBPQ */
+
#include <windowsx.h>
#include <string.h>
#include <stdlib.h>