We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9a4237e commit 8867f48Copy full SHA for 8867f48
1 file changed
wolfssl/wolfcrypt/types.h
@@ -1354,7 +1354,8 @@ typedef struct w64wrapper {
1354
typedef unsigned int THREAD_RETURN;
1355
typedef size_t THREAD_TYPE;
1356
#define WOLFSSL_THREAD
1357
- #elif defined(HAVE_PTHREAD)
+ #elif (defined(_POSIX_THREADS) || defined(HAVE_PTHREAD)) && \
1358
+ !defined(__MINGW32__)
1359
typedef void* THREAD_RETURN;
1360
typedef pthread_t THREAD_TYPE;
1361
0 commit comments