-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libdispatch: enable building for x86
This is now supported due to our patch for using our own BlocksRuntime.
- Loading branch information
Showing
3 changed files
with
13 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/src/shims/tsd.h b/src/shims/tsd.h | ||
index 446c4d7..f8b5ec9 100644 | ||
--- a/src/shims/tsd.h | ||
+++ b/src/shims/tsd.h | ||
@@ -158,7 +158,7 @@ struct dispatch_tsd { | ||
extern _Thread_local struct dispatch_tsd __dispatch_tsd; | ||
|
||
extern void libdispatch_tsd_init(void); | ||
-extern void _libdispatch_tsd_cleanup(void *ctx); | ||
+extern void DISPATCH_TSD_DTOR_CC _libdispatch_tsd_cleanup(void *ctx); | ||
|
||
DISPATCH_ALWAYS_INLINE | ||
static inline struct dispatch_tsd * |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters