Skip to content

Commit bb35354

Browse files
committed
Fix Windows CI: add __thread → __declspec(thread) in quant.h
1 parent ca3bd59 commit bb35354

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

quant.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ static inline int pthread_create(pthread_t* t, const void* a, void*(*fn)(void*),
111111
static inline int pthread_join(pthread_t t, void** r) {
112112
(void)r; WaitForSingleObject(t, INFINITE); CloseHandle(t); return 0;
113113
}
114+
#define __thread __declspec(thread)
114115
#else
115116
#include <pthread.h>
116117
#endif

0 commit comments

Comments
 (0)