aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2000-06-19 13:35:30 +0000
committerBruce Momjian <bruce@momjian.us>2000-06-19 13:35:30 +0000
commit14f6587650f725207a5a063ac9002fe011657ce8 (patch)
tree86b2277c5d0047d83ee101a6f2e5780d088974a2
parentc590273fef87321b12ea56733d6bf49a66841431 (diff)
downloadpostgresql-14f6587650f725207a5a063ac9002fe011657ce8.tar.gz
postgresql-14f6587650f725207a5a063ac9002fe011657ce8.zip
fix HAVE_SQLGETPRIVATEPROFILESTRING define
-rw-r--r--src/interfaces/odbc/dlg_specific.c2
-rw-r--r--src/interfaces/odbc/misc.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/interfaces/odbc/dlg_specific.c b/src/interfaces/odbc/dlg_specific.c
index 96a045e1751..ebe16c1c6e3 100644
--- a/src/interfaces/odbc/dlg_specific.c
+++ b/src/interfaces/odbc/dlg_specific.c
@@ -23,7 +23,7 @@
#ifndef WIN32
#include <string.h>
#include "gpps.h"
-#ifdef HAVE_SQLGETPRIVATEPROFILESTRING
+#ifndef HAVE_SQLGETPRIVATEPROFILESTRING
#define SQLGetPrivateProfileString(a,b,c,d,e,f) GetPrivateProfileString(a,b,c,d,e,f)
#define SQLWritePrivateProfileString(a,b,c,d) WritePrivateProfileString(a,b,c,d)
#endif
diff --git a/src/interfaces/odbc/misc.h b/src/interfaces/odbc/misc.h
index 8d0ad630bdf..9796d0ce574 100644
--- a/src/interfaces/odbc/misc.h
+++ b/src/interfaces/odbc/misc.h
@@ -16,7 +16,7 @@
#ifndef WIN32
#include "gpps.h"
-#ifdef HAVE_SQLGETPRIVATEPROFILESTRING
+#ifndef HAVE_SQLGETPRIVATEPROFILESTRING
#define SQLGetPrivateProfileString(a,b,c,d,e,f) GetPrivateProfileString(a,b,c,d,e,f)
#endif
#endif