iOS build fixes
This commit is contained in:
@@ -233,8 +233,10 @@ typedef uint16_t uchar;
|
|||||||
#if defined(HL_IOS) || defined(HL_TVOS) || defined(HL_MAC)
|
#if defined(HL_IOS) || defined(HL_TVOS) || defined(HL_MAC)
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
#ifdef HL_MAC
|
||||||
typedef uint16_t char16_t;
|
typedef uint16_t char16_t;
|
||||||
typedef uint32_t char32_t;
|
typedef uint32_t char32_t;
|
||||||
|
#endif
|
||||||
#elif defined(HL_NATIVE_UCHAR_FUN)
|
#elif defined(HL_NATIVE_UCHAR_FUN)
|
||||||
# include <uchar.h>
|
# include <uchar.h>
|
||||||
#elif __cplusplus <= 199711L
|
#elif __cplusplus <= 199711L
|
||||||
|
|||||||
@@ -9,6 +9,28 @@
|
|||||||
namespace lime {
|
namespace lime {
|
||||||
|
|
||||||
|
|
||||||
|
void System::GCEnterBlocking () {
|
||||||
|
|
||||||
|
// if (!_isHL) {
|
||||||
|
|
||||||
|
gc_enter_blocking ();
|
||||||
|
|
||||||
|
// }
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void System::GCExitBlocking () {
|
||||||
|
|
||||||
|
// if (!_isHL) {
|
||||||
|
|
||||||
|
gc_exit_blocking ();
|
||||||
|
|
||||||
|
// }
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
std::wstring* System::GetIOSDirectory (SystemDirectory type) {
|
std::wstring* System::GetIOSDirectory (SystemDirectory type) {
|
||||||
|
|
||||||
#ifndef OBJC_ARC
|
#ifndef OBJC_ARC
|
||||||
|
|||||||
Reference in New Issue
Block a user