Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb5d4d23

Browse files
committed
Rename HAVE_SQLGETPRIVATEPROFILESTRING to something resonable in length
and readability.
1 parent14f6587 commitb5d4d23

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
ifeval"test\"`echo'$ac_cv_lib_'$ac_lib_var`\" = yes";then
19691969
echo"$ac_t""yes"1>&6
19701970
cat>> confdefs.h<<\EOF
1971-
#defineHAVE_SQLGETPRIVATEPROFILESTRING 1
1971+
#defineHAVE_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
#ifndefWIN32
2424
#include<string.h>
2525
#include"gpps.h"
26-
#ifndefHAVE_SQLGETPRIVATEPROFILESTRING
26+
#ifndefHAVE_SQL_GET_PRIV_PROFILE
2727
#defineSQLGetPrivateProfileString(a,b,c,d,e,f) GetPrivateProfileString(a,b,c,d,e,f)
2828
#defineSQLWritePrivateProfileString(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
#ifndefWIN32
1818
#include"gpps.h"
19-
#ifndefHAVE_SQLGETPRIVATEPROFILESTRING
19+
#ifndefHAVE_SQL_GET_PRIV_PROFILE
2020
#defineSQLGetPrivateProfileString(a,b,c,d,e,f) GetPrivateProfileString(a,b,c,d,e,f)
2121
#endif
2222
#endif

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp