DescriptionDon't require -DSK_USE_POSIX_THREADS.
To compile SkCondVar, we already require either pthreads or Windows. This
simplifies that code to not need SK_USE_POSIX_THREADS to be explicitly defined.
We'll just look to see if we're targeting Windows, and if not, assume pthreads.
Both before and after this CL, that code will fail to compile if we're not on
Windows and don't have pthreads.
BUG=skia:
Committed: https://skia.googlesource.com/skia/+/4daa6f613cb7d8a3c07369af3e919ea65405ec55
Patch Set 1 #
Messages
Total messages: 7 (2 generated)
|