change 'once_flag' from type int to struct to support call_once() implementation in vx6.9 (#13)
Reviewed-on: http://13.234.246.121:3000/Neominds/ossl35vx69/pulls/13 Co-authored-by: siddhant <siddhant.singh@neominds.in> Co-committed-by: siddhant <siddhant.singh@neominds.in>
This commit is contained in:
@@ -56,7 +56,10 @@ use OpenSSL::stackhash qw(generate_stack_macros);
|
||||
# if defined(OPENSSL_SYS_VXWORKS) && defined(OPENSSL_THREADS) && !defined(CRYPTO_TDEBUG)
|
||||
#include <taskLib.h>
|
||||
/* threads.h cannot be included from C++ files, so define these types */
|
||||
typedef int once_flag;
|
||||
typedef struct {
|
||||
BOOL done;
|
||||
SEM_ID sem;
|
||||
} once_flag;
|
||||
typedef unsigned int tss_t;
|
||||
# ifndef __cplusplus
|
||||
# endif
|
||||
|
||||
Reference in New Issue
Block a user