On 09/09/18 02:02, Marek Olšák wrote:
From: Marek Olšák <marek.ol...@amd.com>
---
src/util/u_thread.h | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/src/util/u_thread.h b/src/util/u_thread.h
index ec0d9a7..0c20ebb 100644
--- a/src/util/u_thread.h
+++ b/src/util/u_thread.h
@@ -29,20 +29,23 @@
#include <stdint.h>
#include <stdbool.h>
#include "c11/threads.h"
#ifdef HAVE_PTHREAD
#include <signal.h>
#endif
+#if defined(HAVE_PTHREAD) && !defined(ANDROID)
If you add `&& !defined(__APPLE__)` then you'll also fix macOS builds,
(ie https://bugs.freedesktop.org/show_bug.cgi?id=107869 )
Reviewed-by: Jose Fonseca <jfons...@vmware.com>
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev