]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commitdiff
whisper : fix build with -Werror=undef (#1045)
authorPhilippe Normand <redacted>
Sun, 25 Jun 2023 12:30:39 +0000 (13:30 +0100)
committerGitHub <redacted>
Sun, 25 Jun 2023 12:30:39 +0000 (15:30 +0300)
whisper.cpp

index 65c57f7d0d5d5ead4688c9f91afa94cfb2e29f7d..74cfd7b2406c8e26b3fd0fe999a625674121eccb 100644 (file)
@@ -1,5 +1,5 @@
 #include "whisper.h"
-#if WHISPER_USE_COREML
+#ifdef WHISPER_USE_COREML
 #include "coreml/whisper-encoder.h"
 #endif