aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ggml.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/ggml.c b/ggml.c
index 9616eb9..a817f83 100644
--- a/ggml.c
+++ b/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 <Windows.h>
-#else
-// ref: https://github.com/ggerganov/whisper.cpp/issues/168
#include <windows.h>
-#endif
typedef volatile LONG atomic_int;
typedef atomic_int atomic_bool;