]> 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, 7 Jul 2024 00:53:37 +0000 (02:53 +0200)
* lib/pthread-cond.c: Include windows-cond.h, not windows-thread.h.

ChangeLog
lib/pthread-cond.c

index 340efb2de3ec95fb0292ba0d5d4fda8a5cb85f66..21db18416b557d3111119473c9ba8c8fc51f7d98 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-06  Paul Eggert  <eggert@cs.ucla.edu>
 
        gnulib-tool: simplify/speed startup
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>