fix for build errors

This commit is contained in:
Charles Xu 2024-09-06 14:01:08 +02:00
parent baad96a363
commit 8e3ca11184

View file

@ -16,6 +16,10 @@
#include <stdlib.h> // for qsort
#include <stdio.h> // for GGML_ASSERT
#if defined(_WIN32) || defined(_WIN64)
#define WIN32_LEAN_AND_MEAN
#ifndef NOMINMAX
# define NOMINMAX
#endif
#include <windows.h>
#else
#include <pthread.h>