Remove redundant duplicate #include <windows.h>

This commit is contained in:
CoderRC 2023-04-03 16:26:32 -04:00 committed by GitHub
parent 10d758b917
commit 8889c3be01
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

3
ggml.h
View file

@ -785,9 +785,6 @@ int ggml_cpu_has_vsx(void);
#endif
#ifndef _POSIX_THREADS
#if defined(_WIN32)
#include <windows.h>
#endif
typedef HANDLE pthread_t;
int pthread_create(pthread_t* out, void* unused, void*(*func)(void*), void* arg);
int pthread_join(pthread_t thread, void* unused);