aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/database
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2009-08-14 13:30:59 +0200
committerTobias Brunner <tobias@strongswan.org>2009-08-14 13:30:59 +0200
commit3901937d142cc9dc81ee22d99c8c596e9317c139 (patch)
treefcb90d9b12c38f4466b1742e5dd04324ab64278b /src/libstrongswan/database
parent8b6a5ce5ba297a84058161ad01e9cf6abfdf71a3 (diff)
downloadstrongswan-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/database')
-rw-r--r--src/libstrongswan/database/database_factory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstrongswan/database/database_factory.c b/src/libstrongswan/database/database_factory.c
index 76e0a4e89..ef6927874 100644
--- a/src/libstrongswan/database/database_factory.c
+++ b/src/libstrongswan/database/database_factory.c
@@ -110,7 +110,7 @@ database_factory_t *database_factory_create()
this->public.destroy = (void(*)(database_factory_t*))destroy;
this->databases = linked_list_create();
- this->mutex = mutex_create(MUTEX_DEFAULT);
+ this->mutex = mutex_create(MUTEX_TYPE_DEFAULT);
return &this->public;
}