On Sat, 22 Mar 2025, LIU Hao wrote:

在 2025-3-22 06:05, Martin Storsjö 写道:
From: Alexander Argentakis <38327951+mfdgam...@users.noreply.github.com>

---
Forwarding this fix from https://github.com/mingw-w64/mingw-w64/pull/82;
it looks trivial enough to not require the submitter to subscribe
for posting the patch themselves.
---
  mingw-w64-libraries/winpthreads/include/pthread.h | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mingw-w64-libraries/winpthreads/include/pthread.h b/mingw-w64-libraries/winpthreads/include/pthread.h
index 7b295ae7f..4a5822427 100644
--- a/mingw-w64-libraries/winpthreads/include/pthread.h
+++ b/mingw-w64-libraries/winpthreads/include/pthread.h
@@ -158,7 +158,7 @@ WINPTHREAD_API int pthread_set_num_processors_np(int n);
  #define pthread_mutex_setprioceiling(M, P) ENOTSUP
  #define pthread_getcpuclockid(T, C) ENOTSUP
  #define pthread_attr_getguardsize(A, S) ENOTSUP
-#define pthread_attr_setgaurdsize(A, S) ENOTSUP
+#define pthread_attr_setguardsize(A, S) ENOTSUP
    typedef long pthread_once_t;
  typedef unsigned pthread_mutexattr_t;

LGTM.

Thanks, pushed.

// Martin

_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to