Mesa (main): microsoft/compiler: Fix error from double extern
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Wed Jun 15 12:23:41 UTC 2022
Module: Mesa
Branch: main
Commit: 4ae6cf2a74768ef23895eda881907a2f5254051e
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4ae6cf2a74768ef23895eda881907a2f5254051e
Author: Yonggang Luo <luoyonggang at gmail.com>
Date: Tue Jun 14 11:05:11 2022 +0800
microsoft/compiler: Fix error from double extern
Signed-off-by: Yonggang Luo <luoyonggang at gmail.com>
Reviewed-by: Jesse Natalie <jenatali at microsoft.com>
Reviewed-by: Erik Faye-Lund <erik.faye-lund at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16671>
---
src/microsoft/compiler/dxil_validator.cpp | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/microsoft/compiler/dxil_validator.cpp b/src/microsoft/compiler/dxil_validator.cpp
index 00e1ca1171d..7a1f60e2a19 100644
--- a/src/microsoft/compiler/dxil_validator.cpp
+++ b/src/microsoft/compiler/dxil_validator.cpp
@@ -24,7 +24,9 @@ struct dxil_validator {
IDxcCompiler *dxc_compiler;
};
-extern "C" extern IMAGE_DOS_HEADER __ImageBase;
+extern "C" {
+extern IMAGE_DOS_HEADER __ImageBase;
+}
static HMODULE
load_dxil_mod()
More information about the mesa-commit
mailing list