diff options
| author | Bruce Momjian <bruce@momjian.us> | 2000-06-19 13:39:03 +0000 |
|---|---|---|
| committer | Bruce Momjian <bruce@momjian.us> | 2000-06-19 13:39:03 +0000 |
| commit | b5d4d234cbd1638f7da13c5d071e3d9359211898 (patch) | |
| tree | fe772ec3a642dce37ba35ffaa14de832654c8b1e | |
| parent | 14f6587650f725207a5a063ac9002fe011657ce8 (diff) | |
| download | postgresql-b5d4d234cbd1638f7da13c5d071e3d9359211898.tar.gz | |
Rename HAVE_SQLGETPRIVATEPROFILESTRING to something resonable in length
and readability.
| -rwxr-xr-x | configure | 2 | ||||
| -rw-r--r-- | configure.in | 2 | ||||
| -rw-r--r-- | src/interfaces/odbc/dlg_specific.c | 2 | ||||
| -rw-r--r-- | src/interfaces/odbc/misc.h | 2 |
4 files changed, 4 insertions, 4 deletions
@@ -1968,7 +1968,7 @@ fi if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then echo "$ac_t""yes" 1>&6 cat >> confdefs.h <<\EOF -#define HAVE_SQLGETPRIVATEPROFILESTRING 1 +#define HAVE_SQLGET_PRIV_PROFILE 1 EOF SHLIB_ODBC="$LDFLAGS_ODBC -L$unixODBC_libs -lodbcinst" diff --git a/configure.in b/configure.in index 289e8d0292..fdf3fc6abc 100644 --- a/configure.in +++ b/configure.in @@ -585,7 +585,7 @@ then LIBS="-L$unixODBC_libs $LIBS" AC_CHECK_LIB(odbcinst,SQLGetPrivateProfileString, - [AC_DEFINE(HAVE_SQLGETPRIVATEPROFILESTRING) + [AC_DEFINE(HAVE_SQL_GET_PRIV_PROFILE) SHLIB_ODBC="$LDFLAGS_ODBC -L$unixODBC_libs -lodbcinst" ], [LIBS="$save_LIBS"] ) fi diff --git a/src/interfaces/odbc/dlg_specific.c b/src/interfaces/odbc/dlg_specific.c index ebe16c1c6e..f75d566f5a 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 9796d0ce57..f8ea9de387 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 |
