mirror of
https://github.com/bkaradzic/bx.git
synced 2026-02-17 20:52:37 +01:00
Set minimum supported macOS to 13.0, and minimum supported iOS to 16.0.
This commit is contained in:
@@ -72,6 +72,7 @@ namespace bx
|
||||
|
||||
inline void HashMurmur2A::begin(uint32_t _seed)
|
||||
{
|
||||
BX_UNUSED(m_tail);
|
||||
m_hash = _seed;
|
||||
m_size = 0;
|
||||
m_count = 0;
|
||||
@@ -95,6 +96,7 @@ namespace bx
|
||||
|
||||
inline void HashMurmur3::begin(uint32_t _seed)
|
||||
{
|
||||
BX_UNUSED(m_tail);
|
||||
m_hash = _seed;
|
||||
m_size = 0;
|
||||
m_count = 0;
|
||||
|
||||
@@ -463,6 +463,12 @@
|
||||
# define BX_CPP_NAME "C++Unknown"
|
||||
#endif // defined(__cplusplus)
|
||||
|
||||
#if BX_PLATFORM_OSX && BX_PLATFORM_OSX < 130000
|
||||
#error "Minimum supported macOS version is 13.00.\n"
|
||||
#elif BX_PLATFORM_IOS && BX_PLATFORM_IOS < 160000
|
||||
#error "Minimum supported macOS version is 16.00.\n"
|
||||
#endif // BX_PLATFORM_OSX < 130000
|
||||
|
||||
#if BX_CPU_ENDIAN_BIG
|
||||
static_assert(false, "\n\n"
|
||||
"\t** IMPORTANT! **\n\n"
|
||||
|
||||
@@ -961,6 +961,7 @@ function toolchain(_buildDir, _libDir)
|
||||
"-Wfatal-errors",
|
||||
"-Wunused-value",
|
||||
"-Wundef",
|
||||
"-mmacosx-version-min=13.0",
|
||||
}
|
||||
includedirs { path.join(bxDir, "include/compat/osx") }
|
||||
|
||||
@@ -972,6 +973,7 @@ function toolchain(_buildDir, _libDir)
|
||||
"-Wfatal-errors",
|
||||
"-Wunused-value",
|
||||
"-Wundef",
|
||||
"-mios-version-min=16.0",
|
||||
}
|
||||
includedirs { path.join(bxDir, "include/compat/ios") }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user