I've attached the semaphore.h files of my systems, and the libSDL source file that uses sem_timedwait. Looks like _POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600 would be the right switch according to http://linux.die.net/man/3/sem_timedwait . Should it use the same "../generic/SDL_syssem.c" like it does for macosx when _POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600 isnt true? Because You cant just replace SDL_SemWaitTimeout(), the structure of SDL_semaphore differ. > On Monday, January 09, 2012 at 12:17 PM, Tobias Leich wrote: > >> I get the same issue on my NetBSD 5.1.3 i386. Are all BSD's affected? >> Can somebody approve? > As I understand it, sem_timedwait isn't a part of BSD, so you're not likely to > find it on any *BSD or Mac OS X or Solaris (though newer versions may have it). > There ought to be a #define around code which uses it. > > -- c >Thread Previous