mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-06 20:37:51 +08:00
15 lines
399 B
Diff
15 lines
399 B
Diff
|
diff --git a/src/amd/compiler/aco_print_asm.cpp b/src/amd/compiler/aco_print_asm.cpp
|
||
|
index dcc7c4bc747..413e6464c79 100644
|
||
|
--- a/src/amd/compiler/aco_print_asm.cpp
|
||
|
+++ b/src/amd/compiler/aco_print_asm.cpp
|
||
|
@@ -24,6 +24,9 @@
|
||
|
|
||
|
#include "aco_ir.h"
|
||
|
|
||
|
+#if defined(_MSC_VER) && defined(restrict)
|
||
|
+#undef restrict
|
||
|
+#endif
|
||
|
#include "llvm/ac_llvm_util.h"
|
||
|
|
||
|
#include "llvm-c/Disassembler.h"
|