diff options
author | Tobias Brunner <tobias@strongswan.org> | 2009-08-14 13:30:59 +0200 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2009-08-14 13:30:59 +0200 |
commit | 3901937d142cc9dc81ee22d99c8c596e9317c139 (patch) | |
tree | fcb90d9b12c38f4466b1742e5dd04324ab64278b /src/libstrongswan/plugins/gcrypt/gcrypt_plugin.c | |
parent | 8b6a5ce5ba297a84058161ad01e9cf6abfdf71a3 (diff) | |
download | strongswan-3901937d142cc9dc81ee22d99c8c596e9317c139.tar.bz2 strongswan-3901937d142cc9dc81ee22d99c8c596e9317c139.tar.xz |
OpenSolaris defines MUTEX_DEFAULT therefore we rename the members of the enums mutex/condvar/rwlock_type_t.
Diffstat (limited to 'src/libstrongswan/plugins/gcrypt/gcrypt_plugin.c')
-rw-r--r-- | src/libstrongswan/plugins/gcrypt/gcrypt_plugin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstrongswan/plugins/gcrypt/gcrypt_plugin.c b/src/libstrongswan/plugins/gcrypt/gcrypt_plugin.c index 03c9bbb52..939e0886c 100644 --- a/src/libstrongswan/plugins/gcrypt/gcrypt_plugin.c +++ b/src/libstrongswan/plugins/gcrypt/gcrypt_plugin.c @@ -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; } |