This commit is contained in:
jl777
2016-10-27 10:04:03 -03:00
parent 0a912c896c
commit b67b154f1e

View File

@@ -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; };