Le mer. 29 nov. 2023 à 12:42, Martin Storsjö <mar...@martin.st> a écrit :
>
> On Wed, 29 Nov 2023, Antonin Décimo wrote:
>
> > Signed-off-by: Antonin Décimo <anto...@tarides.com>
> > ---
> > .../winpthreads/build-aux/windres-rc          | 158 ++++++++++++++++++
> > mingw-w64-libraries/winpthreads/configure     |  13 +-
> > mingw-w64-libraries/winpthreads/configure.ac  |   8 +-
> > .../winpthreads/src/version.rc                |  18 +-
> > 4 files changed, 185 insertions(+), 12 deletions(-)
> > create mode 100644 mingw-w64-libraries/winpthreads/build-aux/windres-rc
>
> For this change, I'd prefer to split out the change to version.rc to a
> separate commit; the change for the windres-rc script is large enough to
> warrant focusing only on that, while the rc file change isn't strictly
> tied to that.

No problem. Do the changes to the rc file look reasonable? The catch
is that binutils' windres will, IIUC, use the C preproc and get mingw
pre-defined macros, whereas te microsoft tool RC [1] implements its
own C preprocessor and doesn't call MSVC, so it defines a subset of
the macros.
I supposed that the 'GC' in WinPthreadGC' stand for GNU C, so I've
renamed it 'MS' in the default case.

[1]: https://learn.microsoft.com/en-us/windows/win32/menurc/resource-compiler


_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to