File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
CoreFoundation/Base.subproj Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -783,6 +783,9 @@ typedef struct __CFTSDTable {
783783 tsdDestructor destructors [CF_TSD_MAX_SLOTS ];
784784} __CFTSDTable ;
785785
786+ #if TARGET_OS_WIN32
787+ __stdcall
788+ #endif
786789static void __CFTSDFinalize (void * arg );
787790
788791#if TARGET_OS_WIN32
@@ -844,6 +847,9 @@ static void *__CFTSDGetSpecific() {
844847
845848_Atomic(bool ) __CFMainThreadHasExited = false;
846849
850+ #if TARGET_OS_WIN32
851+ __stdcall
852+ #endif
847853static void __CFTSDFinalize (void * arg ) {
848854#if TARGET_OS_WASI
849855 __CFMainThreadHasExited = true;
@@ -1626,6 +1632,9 @@ typedef struct _CFThreadSpecificData {
16261632} _CFThreadSpecificData ;
16271633#endif
16281634
1635+ #if TARGET_OS_WIN32
1636+ __stdcall
1637+ #endif
16291638static void _CFThreadSpecificDestructor (void * ctx ) {
16301639#if TARGET_OS_WIN32
16311640 _CFThreadSpecificData * data = (_CFThreadSpecificData * )ctx ;
You can’t perform that action at this time.
0 commit comments