forked-daapd
forked-daapd copied to clipboard
Building on OpenBSD
Hello,
I'm trying to build 0.16 on OpenBSD but got the following error: db.c:269: error: thread-local storage not supported for this target
So it seems like thread local storage is not supported on OpenBSD (and OSX). But from what I can read[1] it can be replaced with pthread_getspecific() and pthread_setspecific() instead. I'm not a C programmer so unfortunately I cannot try this myself. Can you change this, it looks like __thread is only used in this one place of forked-daapd.
[1] https://github.com/buytenh/ivykis/commit/51252ad69def45a4b77156add50c617e6d3dd43a