tint/cmd: Use correct preprocessor guard for libspriv.hpp

This header is used by TINT_BUILD_SPV_READER not TINT_BUILD_SPV_WRITER

Change-Id: Ia42e4f2bf2ad37f426d2bf14e962abed9de147a9
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/122520
Reviewed-by: James Price <jrprice@google.com>
Commit-Queue: Ben Clayton <bclayton@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
This commit is contained in:
Ben Clayton 2023-03-09 23:46:59 +00:00 committed by Dawn LUCI CQ
parent 574b4b1996
commit a36fa42dd7
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@
#include <utility>
#include <vector>
#if TINT_BUILD_SPV_WRITER
#if TINT_BUILD_SPV_READER
#include "spirv-tools/libspirv.hpp"
#endif