diff --git a/src/interfaces/odbc/dlg_specific.c b/src/interfaces/odbc/dlg_specific.c index 96a045e1751602444c7e3e06e4d93762796b019a..ebe16c1c6e31d9225103e83f6e80f90894be98aa 100644 --- a/src/interfaces/odbc/dlg_specific.c +++ b/src/interfaces/odbc/dlg_specific.c @@ -23,7 +23,7 @@ #ifndef WIN32 #include #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 8d0ad630bdf5346ae86089e7156710160a32508e..9796d0ce5745f52d2a48724d73b635c23280ecf7 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