Fix build with MacOS.sdk 15.4

This commit is contained in:
Oleg.Korshul
2025-04-07 14:51:15 +03:00
parent be5627ba60
commit c84f2a11d5
3 changed files with 3 additions and 2 deletions

View File

@ -332,6 +332,7 @@
* DBL_MAX Maximum floating point number (can be set to an arbitrary value) * DBL_MAX Maximum floating point number (can be set to an arbitrary value)
*/ */
# include <float.h> # include <float.h>
# include <math.h>
# if (defined(__MWERKS__) && defined(macintosh)) || defined(applec) || \ # if (defined(__MWERKS__) && defined(macintosh)) || defined(applec) || \
defined(THINK_C) || defined(__SC__) || defined(TARGET_OS_MAC) defined(THINK_C) || defined(__SC__) || defined(TARGET_OS_MAC)

View File

@ -87,8 +87,7 @@ namespace STR
}; };
namespace XMLSTUFF namespace XMLSTUFF
{; {
const std::wstring name2sheet_name(std::wstring name, const std::wstring prefix); const std::wstring name2sheet_name(std::wstring name, const std::wstring prefix);
const std::wstring xti_indexes2sheet_name(const short tabFirst, const short tabLast, std::vector<std::wstring>& names, const std::wstring prefix = L""); const std::wstring xti_indexes2sheet_name(const short tabFirst, const short tabLast, std::vector<std::wstring>& names, const std::wstring prefix = L"");
unsigned short sheetsnames2ixti(std::wstring name); unsigned short sheetsnames2ixti(std::wstring name);

View File

@ -131,6 +131,7 @@ extern z_const char * const z_errmsg[10]; /* indexed by 2-zlib_error */
#endif #endif
#if defined(MACOS) || defined(TARGET_OS_MAC) #if defined(MACOS) || defined(TARGET_OS_MAC)
#include <stdio.h>
# define OS_CODE 7 # define OS_CODE 7
# ifndef Z_SOLO # ifndef Z_SOLO
# if defined(__MWERKS__) && __dest_os != __be_os && __dest_os != __win32_os # if defined(__MWERKS__) && __dest_os != __be_os && __dest_os != __win32_os