OpenSolaris defines MUTEX_DEFAULT therefore we rename the members of the enums mutex/condvar/rwlock_type_t.
This commit is contained in:
@@ -47,7 +47,7 @@ struct private_gcrypt_plugin_t {
|
||||
*/
|
||||
static int mutex_init(void **lock)
|
||||
{
|
||||
*lock = mutex_create(MUTEX_DEFAULT);
|
||||
*lock = mutex_create(MUTEX_TYPE_DEFAULT);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user