aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/odbc/misc.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2001-09-22 22:54:33 +0000
committerPeter Eisentraut <peter_e@gmx.net>2001-09-22 22:54:33 +0000
commit364a7ebe26a20625f7c0b27a59ebbbdb8378587f (patch)
tree954b9ab0a58c727478022e277ca4d0a006b4c153 /src/interfaces/odbc/misc.c
parent39ceaa19f03faa11fbcab6bc050e3b494258afe0 (diff)
downloadpostgresql-364a7ebe26a20625f7c0b27a59ebbbdb8378587f.tar.gz
postgresql-364a7ebe26a20625f7c0b27a59ebbbdb8378587f.zip
Provide some initial support for building the ODBC driver for
an already installed iODBC or unixODBC driver manager. In particular, use the include files provided by the driver manager over our own, and use the odbcinst library of the driver manager rather than gpps.c. Migrate portability sections common to several files into psqlodbc.h.
Diffstat (limited to 'src/interfaces/odbc/misc.c')
-rw-r--r--src/interfaces/odbc/misc.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/interfaces/odbc/misc.c b/src/interfaces/odbc/misc.c
index 87a4ee01ff5..b17c45e3110 100644
--- a/src/interfaces/odbc/misc.c
+++ b/src/interfaces/odbc/misc.c
@@ -143,21 +143,6 @@ qlog(char *fmt,...)
#endif
-/* Undefine these because windows.h will redefine and cause a warning */
-
-#ifdef WIN32
-#undef va_start
-#undef va_end
-#endif
-
-#ifndef WIN32
-#include "iodbc.h"
-#include "isql.h"
-#else
-#include <windows.h>
-#include <sql.h>
-#endif
-
/*
* returns STRCPY_FAIL, STRCPY_TRUNCATED, or #bytes copied