Re: [Mingw-w64-public] winpthreads: Do not use `dllimport` when building 3rd-party DLLs (V4)

2022-05-02 Thread LIU Hao
在 2022-05-02 20:25, Martin Storsjö 写道: On Mon, 2 May 2022, LIU Hao wrote: -- LGTM, thanks! Thanks. Amended and pushed to master. -- Best regards, LIU Hao OpenPGP_signature Description: OpenPGP digital signature ___ Mingw-w64-public mailing l

Re: [Mingw-w64-public] winpthreads: Do not use `dllimport` when building 3rd-party DLLs (V4)

2022-05-02 Thread LIU Hao
在 2022-05-02 20:20, LIU Hao 写道: +# if defined(WINPTHREADS_USE_DLLIMPORT) +#define WINPTHREAD_API __declspec(dllimport) /* user wants explicit `dllimport` */ # else -#define WINPTHREAD_API __declspec(dllimport) -# endif +#define WINPTHREAD_API /* the default; auto imported in

Re: [Mingw-w64-public] winpthreads: Do not use `dllimport` when building 3rd-party DLLs (V4)

2022-05-02 Thread Martin Storsjö
On Mon, 2 May 2022, LIU Hao wrote: -- LGTM, thanks! // Martin ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

[Mingw-w64-public] winpthreads: Do not use `dllimport` when building 3rd-party DLLs (V4)

2022-05-02 Thread LIU Hao
-- Best regards, LIU Hao From b3d95248f2f8bf2e5863671dbc00ff8dcf2b8aac Mon Sep 17 00:00:00 2001 From: LIU Hao Date: Mon, 2 May 2022 19:53:55 +0800 Subject: [PATCH] winpthreads: Do not use `dllimport` when building 3rd-party DLLs (V4) Existent code that is linked against the winpthreads static

Re: [Mingw-w64-public] [PATCH] widl: Fix building on FreebSD

2022-05-02 Thread Martin Storsjö
On Sun, 1 May 2022, LIU Hao wrote: 在 2022-05-01 03:50, Martin Storsjö 写道: Since 6d67748154df21da9e343feb9d58e28c1ba0a63b in wine (wine-6.20-29-g6d67748154d, Oct 25, 2021), imported to mingw-w64 in 826215b4e0b54fe459bce203024fe50ec883cad8, widl requires sys/sysctl.h on FreeBSD. Wine does have a

Re: [Mingw-w64-public] [PATCH] winpthreads: Do not use `dllimport` when building 3rd-party DLLs

2022-05-02 Thread Martin Storsjö
On Sun, 1 May 2022, LIU Hao wrote: On Sun, 1 May 2022, JonY via Mingw-w64-public wrote: I think dllexport should be replaced by dllimport in the above statement. Yes it was a typo. Revised patch attached. On Sun, May 1, 2022 at 9:36 AM Martin Storsjö wrote: FWIW, I think this will bre