tree-wide: Convert all usage of #ifndef PIPE_(OS|ARCH|CC)_* to #if DETECT_(OS|ARCH|CC)_* by use grep
From: #ifndef[\s]+PIPE_(OS|ARCH|CC)_([0-9A-Z_]+) To: #if !DETECT_$1_$2 Signed-off-by: Yonggang Luo <luoyonggang@gmail.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19674>
This commit is contained in:
@@ -594,7 +594,7 @@ test_sync_file_fences(struct pipe_context *ctx)
|
||||
pass = pass && screen->fence_finish(screen, NULL, final_fence, 0);
|
||||
|
||||
/* Cleanup. */
|
||||
#ifndef PIPE_OS_WINDOWS
|
||||
#if !DETECT_OS_WINDOWS
|
||||
if (buf_fd >= 0)
|
||||
close(buf_fd);
|
||||
if (tex_fd >= 0)
|
||||
|
||||
Reference in New Issue
Block a user