Skip to content

Commit

Permalink
libdispatch: updated patch for upstream changes
Browse files Browse the repository at this point in the history
  • Loading branch information
triplef committed Feb 19, 2024
1 parent e9ab286 commit 04d029a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions patches/libdispatch-fix-redefinitions.patch
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
diff --git a/os/generic_win_base.h b/os/generic_win_base.h
index af2c602..b97176e 100644
index 5f1ea74..bcdf092 100644
--- a/os/generic_win_base.h
+++ b/os/generic_win_base.h
@@ -18,14 +18,18 @@
@@ -18,16 +18,20 @@
// Unices provide `roundup` via sys/param.h
#define roundup(x, y) ((((x) + ((y) - 1)) / (y)) * (y))
// Unices provide `MAX` via sys/param.h
Expand All @@ -16,7 +16,9 @@ index af2c602..b97176e 100644
// Unices provide `howmany` via sys/param.h
#define howmany(x, y) (((x) + ((y) - 1)) / (y))

#ifndef HAVE_MODE_T
typedef int mode_t;
#endif
-typedef void pthread_attr_t;
+typedef struct pthread_attr_t_ * pthread_attr_t;

Expand Down

0 comments on commit 04d029a

Please sign in to comment.