mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
Rename HAVE_SQLGETPRIVATEPROFILESTRING to something resonable in length
and readability.
This commit is contained in:
2
configure
vendored
2
configure
vendored
@ -1968,7 +1968,7 @@ fi
|
|||||||
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
|
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
|
||||||
echo "$ac_t""yes" 1>&6
|
echo "$ac_t""yes" 1>&6
|
||||||
cat >> confdefs.h <<\EOF
|
cat >> confdefs.h <<\EOF
|
||||||
#define HAVE_SQLGETPRIVATEPROFILESTRING 1
|
#define HAVE_SQLGET_PRIV_PROFILE 1
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
SHLIB_ODBC="$LDFLAGS_ODBC -L$unixODBC_libs -lodbcinst"
|
SHLIB_ODBC="$LDFLAGS_ODBC -L$unixODBC_libs -lodbcinst"
|
||||||
|
@ -585,7 +585,7 @@ then
|
|||||||
LIBS="-L$unixODBC_libs $LIBS"
|
LIBS="-L$unixODBC_libs $LIBS"
|
||||||
|
|
||||||
AC_CHECK_LIB(odbcinst,SQLGetPrivateProfileString,
|
AC_CHECK_LIB(odbcinst,SQLGetPrivateProfileString,
|
||||||
[AC_DEFINE(HAVE_SQLGETPRIVATEPROFILESTRING)
|
[AC_DEFINE(HAVE_SQL_GET_PRIV_PROFILE)
|
||||||
SHLIB_ODBC="$LDFLAGS_ODBC -L$unixODBC_libs -lodbcinst" ],
|
SHLIB_ODBC="$LDFLAGS_ODBC -L$unixODBC_libs -lodbcinst" ],
|
||||||
[LIBS="$save_LIBS"] )
|
[LIBS="$save_LIBS"] )
|
||||||
fi
|
fi
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
#ifndef WIN32
|
#ifndef WIN32
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "gpps.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 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)
|
#define SQLWritePrivateProfileString(a,b,c,d) WritePrivateProfileString(a,b,c,d)
|
||||||
#endif
|
#endif
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
#ifndef WIN32
|
#ifndef WIN32
|
||||||
#include "gpps.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 SQLGetPrivateProfileString(a,b,c,d,e,f) GetPrivateProfileString(a,b,c,d,e,f)
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user