summaryrefslogtreecommitdiff
path: root/src/interfaces/odbc/setup.c
diff options
context:
space:
mode:
authorByron Nikolaidis <byronn@insightdist.com>2000-02-28 03:31:36 +0000
committerByron Nikolaidis <byronn@insightdist.com>2000-02-28 03:31:36 +0000
commit81704b90700bf997c8ab6164ea610602e886040e (patch)
tree8948495e153633d938b14122b58486c5e02e3b2f /src/interfaces/odbc/setup.c
parentdcba38763636c7d16f458673328a07ca535eaba2 (diff)
update to 6.40.0009 and provide WIN32 defines for auto-configured items
such as BLCKSZ and MAXPGPATHLEN?
Diffstat (limited to 'src/interfaces/odbc/setup.c')
-rw-r--r--src/interfaces/odbc/setup.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/interfaces/odbc/setup.c b/src/interfaces/odbc/setup.c
index 40816fd1100..5dd816980b8 100644
--- a/src/interfaces/odbc/setup.c
+++ b/src/interfaces/odbc/setup.c
@@ -32,6 +32,10 @@ extern GLOBAL_VALUES globals;
// Constants ---------------------------------------------------------------
#define MIN(x,y) ((x) < (y) ? (x) : (y))
+#ifdef WIN32
+#define MAXPGPATH (255+1)
+#endif
+
#define MAXKEYLEN (15+1) // Max keyword length
#define MAXDESC (255+1) // Max description length
#define MAXDSNAME (32+1) // Max data source name length