[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#35405: Patch for 35405
From: |
Ludovic Courtès |
Subject: |
bug#35405: Patch for 35405 |
Date: |
Sun, 30 Jun 2019 17:30:27 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) |
Hi John,
Apologies for the late reply.
John Ralls <address@hidden> skribis:
> From f2de9d206b33bc2e27acde1e751df9ba8faf60a9 Mon Sep 17 00:00:00 2001
> From: John Ralls <address@hidden>
> Date: Tue, 23 Apr 2019 15:06:48 -0700
> Subject: [PATCH] Fix build on MinGW-w64
>
> Fixes bug 35405
>
> * lib/poll.h: MinGW provides struct pollfd in winsock2.h and
> lib/threads.h includes it so disable declaring it in poll.h and
> get the declaration from winsock2.h. Otherwise gcc complains that
> poll() has a different signature between the declaration and
> definition.
> * libguile/socket.c: TCP declarations are in winsock.h on Windows.
> * libguile/timegm.c: MinGW doesn't include mktime so include mktime.c
> to
> provide it.
The portability later in lib/ comes from the Gnulib project:
https://gnu.org/s/gnulib
Could you check whether the issue is fixed there in current Git
‘master’, and if not report it to address@hidden?
Thank you,
Ludo’.
- bug#35405: Patch for 35405,
Ludovic Courtès <=