Reported by Bruno Haible.
* tests/test-servent.c (getservbyname, getservbyport)
[_WIN32 && !_WIN64 && !__CYGWIN__]: Disable signature check.
2025-01-06 Collin Funk <collin.funk1@gmail.com>
+ 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.
#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. */