]> 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:11:09 +0000 (03:11 +0200)
* lib/pthread-cond.c: Include windows-cond.h, not windows-thread.h.

ChangeLog
lib/pthread-cond.c

index 16ca14ad41aed581b54eed255d8ede21c5defd16..29d02be97993476fa3d69ead4ee7fbe00c2231d2 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>