Compile fix
This commit is contained in:
@@ -237,6 +237,12 @@ typedef uint16_t char16_t;
|
|||||||
typedef uint32_t char32_t;
|
typedef uint32_t char32_t;
|
||||||
#elif defined(HL_NATIVE_UCHAR_FUN)
|
#elif defined(HL_NATIVE_UCHAR_FUN)
|
||||||
# include <uchar.h>
|
# include <uchar.h>
|
||||||
|
#elif __cplusplus <= 199711L
|
||||||
|
# include <stdint.h>
|
||||||
|
typedef int16_t char16_t;
|
||||||
|
typedef uint16_t uchar16_t;
|
||||||
|
typedef int32_t char32_t;
|
||||||
|
typedef uint32_t uchar32_t;
|
||||||
#endif
|
#endif
|
||||||
typedef char16_t uchar;
|
typedef char16_t uchar;
|
||||||
# undef USTR
|
# undef USTR
|
||||||
|
|||||||
@@ -15,6 +15,9 @@ typedef vdynobj hl_vdynobj;
|
|||||||
typedef venum hl_venum;
|
typedef venum hl_venum;
|
||||||
typedef vstring hl_vstring;
|
typedef vstring hl_vstring;
|
||||||
|
|
||||||
|
#undef hl_aptr
|
||||||
|
#define hl_aptr(a,t) ((t*)(((hl_varray*)(a))+1))
|
||||||
|
|
||||||
|
|
||||||
#include <hx/CFFIPrime.h>
|
#include <hx/CFFIPrime.h>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user