From: Philippe Normand Date: Sun, 25 Jun 2023 12:30:39 +0000 (+0100) Subject: whisper : fix build with -Werror=undef (#1045) X-Git-Tag: upstream/1.7.4~1401 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=44cb044e66386d2973a5eea57e583c536ddf2780;p=pkg%2Fggml%2Fsources%2Fwhisper.cpp whisper : fix build with -Werror=undef (#1045) --- diff --git a/whisper.cpp b/whisper.cpp index 65c57f7d..74cfd7b2 100644 --- a/whisper.cpp +++ b/whisper.cpp @@ -1,5 +1,5 @@ #include "whisper.h" -#if WHISPER_USE_COREML +#ifdef WHISPER_USE_COREML #include "coreml/whisper-encoder.h" #endif