Skip to content

Commit a290210

Browse files
committed
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.
1 parent 9b68b04 commit a290210

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/shims/tsd.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ struct dispatch_tsd {
158158
extern _Thread_local struct dispatch_tsd __dispatch_tsd;
159159

160160
extern void libdispatch_tsd_init(void);
161-
extern void _libdispatch_tsd_cleanup(void *ctx);
161+
extern void DISPATCH_TSD_DTOR_CC _libdispatch_tsd_cleanup(void *ctx);
162162

163163
DISPATCH_ALWAYS_INLINE
164164
static inline struct dispatch_tsd *

0 commit comments

Comments
 (0)