mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-04-07 13:55:33 +08:00
Fix build with MacOS.sdk 15.4
This commit is contained in:
@ -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)
|
||||||
|
|||||||
@ -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);
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user