Differences From Artifact [3cf46d2139]:
- File
src/exceptions/OFException.m
— part of check-in
[af603291de]
at
2020-04-05 13:23:24
on branch trunk
— configure: Check return type of strerror_r
Just checking for _GNU_SOURCE is not enough, because musl still returns
int even with _GNU_SOURCE, despite the musl header explicitly checking
for _GNU_SOURCE. (user: js, size: 7051) [annotate] [blame] [check-ins using]
To Artifact [91a0048000]:
- File src/exceptions/OFException.m — part of check-in [efbb4a8eb4] at 2020-05-10 15:33:53 on branch trunk — Fix building with --disable-sockets on Windows (user: js, size: 7085) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
86 87 88 89 90 91 92 | #ifdef HAVE_STRERROR_R char buffer[256]; #endif if (errNo == 0) return @"Unknown error"; | | | 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 | #ifdef HAVE_STRERROR_R char buffer[256]; #endif if (errNo == 0) return @"Unknown error"; #if defined(OF_WINDOWS) && defined(OF_HAVE_SOCKETS) /* * These were translated from WSAE* errors to errno and thus Win32's * strerror_r() does not know about them. * * FIXME: These could have better descriptions! */ switch (errNo) { |
︙ | ︙ |