Re: [Mingw-w64-public] patch to add htonll/ntohll

2021-12-17 Thread lhmouse
在 2021-12-17 02:13, Michel Zou 写道: > Hi, > It turns out that these are inline functions, here is a new patch. > xan > Thanks. Pushed to master. Next time, please send a patch created by `git format`, and please do sign off the commit with `git commit -s`. -- Best regards, LIU Hao ___

Re: [Mingw-w64-public] patch to add htonll/ntohll

2021-12-17 Thread LIU Hao
在 2021-12-17 02:13, Michel Zou 写道:> Hi, > It turns out that these are inline functions, here is a new patch. > xan > Thanks. Pushed to master. Next time, please send a patch created by `git format`, and please do sign off the commit with `git commit -s`. -- Best regards, LIU Hao

Re: [Mingw-w64-public] patch to add htonll/ntohll

2021-12-16 Thread Michel Zou
Hi, It turns out that these are inline functions, here is a new patch. xan From: Michel Zou Sent: Monday, August 9, 2021 5:18 PM To: LIU Hao ; mingw-w64-public@lists.sourceforge.net Subject: Re: [Mingw-w64-public] patch to add htonll/ntohll I have no idea, I

Re: [Mingw-w64-public] patch to add htonll/ntohll

2021-08-10 Thread LIU Hao
在 2021-08-10 01:18, Michel Zou 写道: I have no idea, I removed them if you think its unavailable. I just checked it for sure. `htonll` is not exported from 'ws2_32.dll'. Therefore the hunk against 'ws2_32.def.in' is definitely incorrect. If these functions are provided as inline functions,

Re: [Mingw-w64-public] patch to add htonll/ntohll

2021-08-09 Thread Michel Zou
I have no idea, I removed them if you think its unavailable. From: LIU Hao Sent: Monday, August 9, 2021 5:02 PM To: Michel Zou; mingw-w64-public@lists.sourceforge.net Subject: Re: [Mingw-w64-public] patch to add htonll/ntohll 在 2021-08-09 21:20, Michel Zou 写道

Re: [Mingw-w64-public] patch to add htonll/ntohll

2021-08-09 Thread LIU Hao
在 2021-08-09 21:20, Michel Zou 写道: diff --git a/mingw-w64-crt/libce/winsock.def b/mingw-w64-crt/libce/winsock.def index c9e2e958d..a75b84c69 100644 --- a/mingw-w64-crt/libce/winsock.def +++ b/mingw-w64-crt/libce/winsock.def The `#if` guards are okay. However, changes to libce are highly dubious

Re: [Mingw-w64-public] patch to add htonll/ntohll

2021-08-09 Thread Michel Zou
From: LIU Hao Sent: Monday, August 9, 2021 12:58 PM To: mingw-w64-public@lists.sourceforge.net; Michel Zou Subject: Re: [Mingw-w64-public] patch to add htonll/ntohll 在 8/9/21 8:48 PM, Michel Zou 写道: > @@ -1018,6 +1019,7 @@ typedef unsigned int GR

Re: [Mingw-w64-public] patch to add htonll/ntohll

2021-08-09 Thread LIU Hao
在 8/9/21 8:48 PM, Michel Zou 写道: @@ -1018,6 +1019,7 @@ typedef unsigned int GROUP; #ifndef __INSIDE_CYGWIN__ WINSOCK_API_LINKAGE u_long WSAAPI ntohl(u_long netlong); WINSOCK_API_LINKAGE u_short WSAAPI ntohs(u_short netshort); + WINSOCK_API_LINKAGE unsigned __int64 WSAAPI(unsigned __int

[Mingw-w64-public] patch to add htonll/ntohll

2021-08-09 Thread Michel Zou
Hello list, I tried to add the missing htonll/ntohll functions with the others, but I don't know if this is correct. Could someone look a this patch ? xan diff --git a/mingw-w64-crt/lib-common/ws2_32.def.in b/mingw-w64-crt/lib-common/ws2_32.def.in index b49c4b87d..1f9a2077b 100644 --- a/ming