From: Georgi Gerganov Date: Mon, 10 Apr 2023 20:21:11 +0000 (+0300) Subject: ggml : fix include X-Git-Tag: upstream/0.0.1642~1556 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=553929cf771634fc29b0700967a0621d56647f09;p=pkg%2Fggml%2Fsources%2Fggml ggml : fix include --- diff --git a/src/ggml.c b/src/ggml.c index 71dbb3bb..ada3bbbd 100644 --- a/src/ggml.c +++ b/src/ggml.c @@ -26,14 +26,9 @@ #define static_assert(cond, msg) struct global_scope_noop_trick #endif -#if defined _MSC_VER || defined(__MINGW32__) +#if defined(_WIN32) -#if !defined(__MINGW32__) -#include -#else -// ref: https://github.com/ggerganov/whisper.cpp/issues/168 #include -#endif typedef volatile LONG atomic_int; typedef atomic_int atomic_bool;