fixing macos and windows CI ?

This commit is contained in:
Kbz-8
2024-09-14 12:53:29 +02:00
parent 14b42a7c9e
commit 9631305e35
2 changed files with 7 additions and 2 deletions

View File

@@ -47,6 +47,9 @@
#include <iterator>
#include <stb_truetype.h>
#include <variant>
#if defined(MLX_PLAT_MACOS) || defined(MLX_PLAT_LINUX) || defined(MLX_PLAT_UNIX)
#include <math.h> // sincos
#endif
#ifdef MLX_COMPILER_CLANG
#pragma clang diagnostic push