Re: [OpenOCD-devel] libjaylink on OSX

2020-06-06 Thread Marc Schink
Hi Antonio, thanks for your help! According to POSIX.1-2001, POSIX.1-2008, one should use sys/select.h. Also, according to the OSX manual page for select(), #include . is required. Best regards, Marc On Mon, 2020-06-01 at 13:27 +0200, Antonio Borneo wrote: > Marc, > > don't have a Mac for test

Re: [OpenOCD-devel] libjaylink on OSX

2020-06-01 Thread Antonio Borneo
Marc, don't have a Mac for testing. On FreeBSD 12.1-RELEASE-p1 you need to include to define FD_ISSET, FD_SET, FD_ZERO. Also sys/select.h gets included by , but only if __BSD_VISIBLE is defined. On Linux/glibc you also need to include it for the same defines. Also here included by , but only is

[OpenOCD-devel] libjaylink on OSX

2020-05-31 Thread Marc Schink
Hi, can somebody check if this patch [1] is necessary to build libjaylink on OSX? I would like to integrate this fix (if necessary) in the upcoming 0.2.0 release which will probably take place within the next couple of days. Best regards Marc [1] https://github.com/syntacore/libjaylink/commit/