From ad18c123264ca6760609531595a36033dec2b7e6 Mon Sep 17 00:00:00 2001 From: Ne_Eo Date: Fri, 15 Nov 2024 14:51:04 +0100 Subject: [PATCH] Small change to support more platforms --- hscript/Expr.hx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/hscript/Expr.hx b/hscript/Expr.hx index 7092b2c..bdda752 100644 --- a/hscript/Expr.hx +++ b/hscript/Expr.hx @@ -21,13 +21,13 @@ */ package hscript; -typedef Int8 = #if cpp cpp.Int8 #else Int #end; -typedef Int16 = #if cpp cpp.Int16 #else Int #end; +typedef Int8 = #if cpp cpp.Int8 #elseif java java.Int8 #elseif cs cs.Int8 #else Int #end; +typedef Int16 = #if cpp cpp.Int16 #elseif java java.Int16 #elseif cs cs.Int16 #else Int #end; typedef Int32 = #if cpp cpp.Int32 #else Int #end; -typedef Int64 = #if cpp cpp.Int64 #else Int #end; +typedef Int64 = #if cpp cpp.Int64 #elseif java java.Int64 #elseif cs cs.Int64 #else Int #end; -typedef UInt8 = #if cpp cpp.UInt8 #else Int #end; -typedef UInt16 = #if cpp cpp.UInt16 #else Int #end; +typedef UInt8 = #if cpp cpp.UInt8 #elseif cs cs.UInt8 #else Int #end; +typedef UInt16 = #if cpp cpp.UInt16 #elseif cs cs.UInt16 #else Int #end; typedef UInt32 = #if cpp cpp.UInt32 #else Int #end; typedef UInt64 = #if cpp cpp.UInt64 #else Int #end;