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

Commitbd0980f

Browse files
author
Felipe Zimmerle
committed
Reverts commit:a420214
Testing inet_pton with the help of Steffen. Acording to Steffen we can use!(NTDDI_VERSION >= NTDDI_VISTA) to identify that the specific Windows versionhas this function defined or not, if so we can use the Windows version.Reverting this commit to avoid to overwrite the Windows' function. Andsee the original error that happened before this commit.
1 parent93b12df commitbd0980f

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

‎apache2/msc_util.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -836,7 +836,7 @@ char *m_strcasestr(const char *haystack, const char *needle) {
836836
}
837837

838838
#ifdefWIN32
839-
intmy_inet_pton(intfamily,constchar*src,void*dst) {
839+
intinet_pton(intfamily,constchar*src,void*dst) {
840840
structaddrinfoaddr;
841841
structsockaddr_in*in=NULL;
842842
#ifAPR_HAVE_IPV6

‎apache2/msc_util.h‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,6 @@ int DSOLOCAL inet_pton(int family, const char *src, void *dst);
5050
intDSOLOCALswap_int32(intx);
5151
#endif
5252

53-
#ifdefWIN32
54-
#defineinet_pton(x,y,z) my_inet_pton(x, y, z)
55-
#endif
5653

5754
charDSOLOCAL*utf8_unicode_inplace_ex(apr_pool_t*mp,unsignedchar*input,longintinput_len,int*changed);
5855

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp