summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 ebe16c1c6e3..f75d566f5a8 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"
-#ifndef HAVE_SQLGETPRIVATEPROFILESTRING
+#ifndef HAVE_SQL_GET_PRIV_PROFILE
#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 9796d0ce574..f8ea9de3873 100644
--- a/src/interfaces/odbc/misc.h
+++ b/src/interfaces/odbc/misc.h
@@ -16,7 +16,7 @@
#ifndef WIN32
#include "gpps.h"
-#ifndef HAVE_SQLGETPRIVATEPROFILESTRING
+#ifndef HAVE_SQL_GET_PRIV_PROFILE
#define SQLGetPrivateProfileString(a,b,c,d,e,f) GetPrivateProfileString(a,b,c,d,e,f)
#endif
#endif