Re: [Mesa-dev] [PATCH] meson: Don't define HAVE_PTHREAD only on linux

2017-11-15 Thread Dylan Baker
Quoting Jon Turney (2017-11-15 02:52:29) > I'm not sure of the reason for this. I don't see anything like this in > configure.ac I hadn't had a chance to test other platforms, and I wasn't sure about Windows and Haiku. Some of the BSD's also stiil use pthread-stubs, and I don't think those get HAV

Re: [Mesa-dev] [PATCH] meson: Don't define HAVE_PTHREAD only on linux

2017-11-15 Thread Eric Engestrom
On Wednesday, 2017-11-15 10:52:29 +, Jon Turney wrote: > I'm not sure of the reason for this. I don't see anything like this in > configure.ac > > In include/c11/threads.h the cases are: > > 1) building for Windows -> threads_win32.h > 2) HAVE_PTHREAD -> threads_posix.h > 3) Not supported on

[Mesa-dev] [PATCH] meson: Don't define HAVE_PTHREAD only on linux

2017-11-15 Thread Jon Turney
I'm not sure of the reason for this. I don't see anything like this in configure.ac In include/c11/threads.h the cases are: 1) building for Windows -> threads_win32.h 2) HAVE_PTHREAD -> threads_posix.h 3) Not supported on this platform So not defining HAVE_PTHREAD for anything not Windows just m