Module: Mesa Branch: master Commit: 4f52425159b057442cc7b83eb26590479db05067 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4f52425159b057442cc7b83eb26590479db05067
Author: Samuel Thibault <[email protected]> Date: Sat Dec 28 22:06:27 2019 +0100 util: Do not fail to build on unknown pthread_setname_np This is only used for debugging, so better making porting on various systems less hard. Reviewed-by: Matt Turner <[email protected]> Reviewed-by: Marek Olšák <[email protected]> Signed-off-by: Samuel Thibault <[email protected]> Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3229> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3229> --- src/util/u_thread.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/u_thread.h b/src/util/u_thread.h index 5bb06608fc9..1f2a104c3fd 100644 --- a/src/util/u_thread.h +++ b/src/util/u_thread.h @@ -84,7 +84,7 @@ static inline void u_thread_setname( const char *name ) #elif DETECT_OS_HAIKU rename_thread(find_thread(NULL), name); #else -#error Not sure how to call pthread_setname_np +#warning Not sure how to call pthread_setname_np #endif #endif (void)name; _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
