]> Savannah Git Hosting - gnulib.git/commitdiff
servent tests: Fix mistake in previous commit.
authorCollin Funk <collin.funk1@gmail.com>
Tue, 7 Jan 2025 02:28:35 +0000 (18:28 -0800)
committerCollin Funk <collin.funk1@gmail.com>
Tue, 7 Jan 2025 02:28:35 +0000 (18:28 -0800)
Reported by Bruno Haible.

* tests/test-servent.c (getservbyname, getservbyport)
[_WIN32 && !_WIN64 && !__CYGWIN__]: Disable signature check.

ChangeLog
tests/test-servent.c

index 601407cce3e744b5ea853feb53fdfa700a2a077e..2acacb69a2a9010bd9702e9c6b3ad6ce52857cde 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 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.
index 0e774bdfcc473423742afb753505bd40998d4fd7..3715944ca2cc645da5bb9b9cf38d8f50af130874 100644 (file)
@@ -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.  */