From: Collin Funk Date: Tue, 7 Jan 2025 02:28:35 +0000 (-0800) Subject: servent tests: Fix mistake in previous commit. X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=dd8057e53a8b4e710528d35948ca07220292b931;p=gnulib.git servent tests: Fix mistake in previous commit. Reported by Bruno Haible. * tests/test-servent.c (getservbyname, getservbyport) [_WIN32 && !_WIN64 && !__CYGWIN__]: Disable signature check. --- diff --git a/ChangeLog b/ChangeLog index 601407cce3..2acacb69a2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2025-01-06 Collin Funk + servent tests: Fix mistake in previous commit. + Reported by Bruno Haible. + * tests/test-servent.c (getservbyname, getservbyport) + [_WIN32 && !_WIN64 && !__CYGWIN__]: Disable signature check. + servent tests: Fix failure on 32-bit native Windows. * tests/test-servent.c (getservbyname, getservbyport) [_WIN64 && !__CYGWIN__]: Disable signature check. diff --git a/tests/test-servent.c b/tests/test-servent.c index 0e774bdfcc..3715944ca2 100644 --- a/tests/test-servent.c +++ b/tests/test-servent.c @@ -23,7 +23,7 @@ #include "signature.h" -#if defined _WIN64 && !defined __CYGWIN__ +#if !(defined _WIN32 && !defined _WIN64 && !defined __CYGWIN__) /* On 32-bit native Windows, these two functions may have the __stdcall calling convention. But the SIGNATURE_CHECK works only for functions with __cdecl calling convention. */