sync : try to fix build on tvOS
This commit is contained in:
parent
8401e3ebcd
commit
815f44e5a3
1 changed files with 5 additions and 1 deletions
6
ggml.c
6
ggml.c
|
@ -100,8 +100,12 @@ typedef void * thread_ret_t;
|
||||||
#include <hbwmalloc.h>
|
#include <hbwmalloc.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(__APPLE__)
|
||||||
|
#include <TargetConditionals.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#if (defined(__linux__) || defined(__APPLE__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)) && \
|
#if (defined(__linux__) || defined(__APPLE__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)) && \
|
||||||
(!defined(TARGET_OS_TV))
|
(!defined(TARGET_OS_TV) && !defined(TARGET_OS_WATCH))
|
||||||
|
|
||||||
#include <sys/wait.h>
|
#include <sys/wait.h>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue