Skip to content

Commit b5d4d23

Browse files
committed
Rename HAVE_SQLGETPRIVATEPROFILESTRING to something resonable in length
and readability.
1 parent 14f6587 commit b5d4d23

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

configure

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1968,7 +1968,7 @@ fi
19681968
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19691969
echo "$ac_t""yes" 1>&6
19701970
cat >> confdefs.h <<\EOF
1971-
#define HAVE_SQLGETPRIVATEPROFILESTRING 1
1971+
#define HAVE_SQLGET_PRIV_PROFILE 1
19721972
EOF
19731973

19741974
SHLIB_ODBC="$LDFLAGS_ODBC -L$unixODBC_libs -lodbcinst"

configure.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -585,7 +585,7 @@ then
585585
LIBS="-L$unixODBC_libs $LIBS"
586586

587587
AC_CHECK_LIB(odbcinst,SQLGetPrivateProfileString,
588-
[AC_DEFINE(HAVE_SQLGETPRIVATEPROFILESTRING)
588+
[AC_DEFINE(HAVE_SQL_GET_PRIV_PROFILE)
589589
SHLIB_ODBC="$LDFLAGS_ODBC -L$unixODBC_libs -lodbcinst" ],
590590
[LIBS="$save_LIBS"] )
591591
fi

src/interfaces/odbc/dlg_specific.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
#ifndef WIN32
2424
#include <string.h>
2525
#include "gpps.h"
26-
#ifndef HAVE_SQLGETPRIVATEPROFILESTRING
26+
#ifndef HAVE_SQL_GET_PRIV_PROFILE
2727
#define SQLGetPrivateProfileString(a,b,c,d,e,f) GetPrivateProfileString(a,b,c,d,e,f)
2828
#define SQLWritePrivateProfileString(a,b,c,d) WritePrivateProfileString(a,b,c,d)
2929
#endif

src/interfaces/odbc/misc.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
#ifndef WIN32
1818
#include "gpps.h"
19-
#ifndef HAVE_SQLGETPRIVATEPROFILESTRING
19+
#ifndef HAVE_SQL_GET_PRIV_PROFILE
2020
#define SQLGetPrivateProfileString(a,b,c,d,e,f) GetPrivateProfileString(a,b,c,d,e,f)
2121
#endif
2222
#endif

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy