define _heim_base_mutex if needed

This commit is contained in:
Love Hornquist Astrand
2010-11-26 08:58:18 -08:00
parent ba29d58a4a
commit dc992b1525

View File

@@ -64,6 +64,10 @@ struct heim_base_mem {
#define PTR2BASE(ptr) (((struct heim_base *)ptr) - 1)
#define BASE2PTR(ptr) ((void *)(((struct heim_base *)ptr) + 1))
#ifdef HEIM_BASE_NEED_ATOMIC_MUTEX
HEIMDAL_MUTEX _heim_base_mutex = HEIMDAL_MUTEX_INITIALIZER;
#endif
/*
* Auto release structure
*/