From a290210591476e488572c342a706eeaf9224c90a Mon Sep 17 00:00:00 2001 From: Saleem Abdulrasool Date: Mon, 30 Aug 2021 13:44:02 -0700 Subject: [PATCH] shims: repair the build on Windows i686 The Windows i686 builds expect this function to use the stdcall calling convention. The implementation correctly decorates the function to do so. However, the declaration did not match, which caused a build failure on windows i686. --- src/shims/tsd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shims/tsd.h b/src/shims/tsd.h index 446c4d796..f8b5ec9ba 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 *