Removed POLARSSL_THREADING_DUMMY option
This commit is contained in:
parent
4de44aa0ae
commit
a8fd3e31ed
4 changed files with 3 additions and 57 deletions
|
@ -39,10 +39,6 @@ extern "C" {
|
|||
#define POLARSSL_ERR_THREADING_BAD_INPUT_DATA -0x001C /**< Bad input parameters to function. */
|
||||
#define POLARSSL_ERR_THREADING_MUTEX_ERROR -0x001E /**< Locking / unlocking / free failed with error code. */
|
||||
|
||||
#if defined(POLARSSL_THREADING_DUMMY)
|
||||
typedef void threading_mutex_t;
|
||||
#endif
|
||||
|
||||
#if defined(POLARSSL_THREADING_PTHREAD)
|
||||
#include <pthread.h>
|
||||
typedef pthread_mutex_t threading_mutex_t;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue