diff --git a/src/komodo_utils.h b/src/komodo_utils.h index 2905836ca..686da09f5 100644 --- a/src/komodo_utils.h +++ b/src/komodo_utils.h @@ -15,6 +15,10 @@ #define SATOSHIDEN ((uint64_t)100000000L) #define dstr(x) ((double)(x) / SATOSHIDEN) +#define portable_mutex_t pthread_mutex_t +#define portable_mutex_init(ptr) pthread_mutex_init(ptr,NULL) +#define portable_mutex_lock pthread_mutex_lock +#define portable_mutex_unlock pthread_mutex_unlock struct queueitem { struct queueitem *next,*prev; uint32_t allocsize,type; };