From 20e6e9422f5428bdc05bf26318bbe1045fdb5e88 Mon Sep 17 00:00:00 2001 From: Meng Zhang Date: Thu, 28 Sep 2023 10:22:07 -0700 Subject: [PATCH] fix: explicitly set extern for ggml_metal_file.c --- ggml-metal.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ggml-metal.m b/ggml-metal.m index a2d5df77e362f..912e7e5849109 100644 --- a/ggml-metal.m +++ b/ggml-metal.m @@ -109,8 +109,8 @@ #undef GGML_METAL_DECL_KERNEL }; -const char ggml_metal_file[]; -const size_t ggml_metal_file_len; +extern const char ggml_metal_file[]; +extern const size_t ggml_metal_file_len; // MSL code // TODO: move the contents here when ready