Fix macOS build.

This commit is contained in:
Martín Lucas Golini
2025-08-27 00:35:39 -03:00
parent 4a94c4aff2
commit a703b09cc1
3 changed files with 3 additions and 1 deletions

View File

@@ -1105,6 +1105,7 @@ solution "eepp"
project "zlib-static"
kind "StaticLib"
language "C"
defines { "_LARGEFILE64_SOURCE" }
set_targetdir("libs/" .. os.get_real() .. "/thirdparty/")
files { "src/thirdparty/zlib/*.c" }
build_base_configuration( "zlib" )

View File

@@ -977,6 +977,7 @@ workspace "eepp"
project "zlib-static"
kind "StaticLib"
language "C"
defines { "_LARGEFILE64_SOURCE" }
files { "src/thirdparty/zlib/*.c" }
build_base_configuration( "zlib" )
target_dir_thirdparty()

View File

@@ -524,7 +524,7 @@
* <fp.h> if possible.
*/
# if !defined(__MATH_H__) && !defined(__MATH_H) && !defined(__cmath__)
# include <fp.h>
# include <math.h>
# endif
# else
# include <math.h>