]> Savannah Git Hosting - gnulib.git/commitdiff
pthread-cond: Fix compilation error on native Windows.
authorBruno Haible <bruno@clisp.org>
Sun, 7 Jul 2024 00:53:37 +0000 (02:53 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 21 Jul 2024 01:27:41 +0000 (03:27 +0200)
* lib/pthread-cond.c: Include windows-cond.h, not windows-thread.h.

ChangeLog
lib/pthread-cond.c

index 3d0380687dd91cd8e8fac5d15a595f2eeb0445d9..dde6e1547d76b15faf9a7a92021a94bd750c9aba 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2024-07-06  Bruno Haible  <bruno@clisp.org>
+
+       pthread-cond: Fix compilation error on native Windows.
+       * lib/pthread-cond.c: Include windows-cond.h, not windows-thread.h.
+
 2024-07-01  Bruno Haible  <bruno@clisp.org>
 
        Avoid some possibly wrong configure test results.
index 380cdfd3576d04aa9e405b0070d054cfd687d045..ca22e0373b339eb6a2e55b577e82f4d4d2c73cbc 100644 (file)
@@ -22,7 +22,7 @@
 #include <pthread.h>
 
 #if (defined _WIN32 && ! defined __CYGWIN__) && USE_WINDOWS_THREADS
-# include "windows-thread.h"
+# include "windows-cond.h"
 #else
 # include <errno.h>
 # include <limits.h>