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