Merge pull request #7363 from kaleb-himes/WinCE-supporting-work
Manually check-in pre-operational-testing changes for WinCE port effort
This commit is contained in:
commit
c9d83babe0
File diff suppressed because it is too large
Load Diff
@ -3430,7 +3430,8 @@ char* mystrnstr(const char* s1, const char* s2, unsigned int n)
|
||||
#ifndef SINGLE_THREADED
|
||||
|
||||
/* Environment-specific multi-thread implementation check */
|
||||
#if defined(USE_WINDOWS_API) && !defined(WOLFSSL_PTHREADS)
|
||||
#if defined(USE_WINDOWS_API) && !defined(WOLFSSL_PTHREADS) && \
|
||||
!defined(_WIN32_WCE)
|
||||
int wolfSSL_NewThread(THREAD_TYPE* thread,
|
||||
THREAD_CB cb, void* arg)
|
||||
{
|
||||
|
@ -80,7 +80,7 @@
|
||||
#endif
|
||||
#endif /* WOLFSSL_SGX */
|
||||
#endif
|
||||
#ifndef SINGLE_THREADED
|
||||
#if !defined(SINGLE_THREADED) && !defined(_WIN32_WCE)
|
||||
#include <process.h>
|
||||
#endif
|
||||
#elif defined(THREADX)
|
||||
@ -342,7 +342,11 @@
|
||||
#endif
|
||||
#elif defined(_MSC_VER)
|
||||
/* Use MSVC compiler intrinsics for atomic ops */
|
||||
#include <intrin.h>
|
||||
#ifdef _WIN32_WCE
|
||||
#include <armintr.h>
|
||||
#else
|
||||
#include <intrin.h>
|
||||
#endif
|
||||
typedef volatile long wolfSSL_Atomic_Int;
|
||||
#define WOLFSSL_ATOMIC_OPS
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user