|
@@ -3190,7 +3190,7 @@ End Rem
|
|
Select opt_platform
|
|
Select opt_platform
|
|
Case "macos", "osx", "ios"
|
|
Case "macos", "osx", "ios"
|
|
api = "macos"
|
|
api = "macos"
|
|
- Case "linux", "android", "raspberrypi"
|
|
|
|
|
|
+ Case "linux", "android", "raspberrypi", "haiku"
|
|
api = "linux"
|
|
api = "linux"
|
|
Case "win32"
|
|
Case "win32"
|
|
api = "win32"
|
|
api = "win32"
|
|
@@ -4639,6 +4639,11 @@ Function EvalS$( source$,ty:TType )
|
|
env.InsertDecl New TConstDecl.Create( "raspberrypiARM",New TIntType,New TConstExpr.Create( New TIntType,opt_platform="raspberrypi" And opt_arch="arm"),0 )
|
|
env.InsertDecl New TConstDecl.Create( "raspberrypiARM",New TIntType,New TConstExpr.Create( New TIntType,opt_platform="raspberrypi" And opt_arch="arm"),0 )
|
|
env.InsertDecl New TConstDecl.Create( "raspberrypiARM64",New TIntType,New TConstExpr.Create( New TIntType,opt_platform="raspberrypi" And opt_arch="arm64"),0 )
|
|
env.InsertDecl New TConstDecl.Create( "raspberrypiARM64",New TIntType,New TConstExpr.Create( New TIntType,opt_platform="raspberrypi" And opt_arch="arm64"),0 )
|
|
|
|
|
|
|
|
+ ' haiku
|
|
|
|
+ env.InsertDecl New TConstDecl.Create( "haiku",New TIntType,New TConstExpr.Create( New TIntType,opt_platform="haiku" And (opt_arch="x86" Or opt_arch="x64")),0 )
|
|
|
|
+ env.InsertDecl New TConstDecl.Create( "haikux86",New TIntType,New TConstExpr.Create( New TIntType,opt_platform="haiku" And opt_arch="x86"),0 )
|
|
|
|
+ env.InsertDecl New TConstDecl.Create( "haikux64",New TIntType,New TConstExpr.Create( New TIntType,opt_platform="haiku" And opt_arch="x64"),0 )
|
|
|
|
+
|
|
' emscripten
|
|
' emscripten
|
|
env.InsertDecl New TConstDecl.Create( "emscripten",New TIntType,New TConstExpr.Create( New TIntType,opt_platform="emscripten" ),0 )
|
|
env.InsertDecl New TConstDecl.Create( "emscripten",New TIntType,New TConstExpr.Create( New TIntType,opt_platform="emscripten" ),0 )
|
|
env.InsertDecl New TConstDecl.Create( "emscriptenjs",New TIntType,New TConstExpr.Create( New TIntType,opt_platform="emscripten" And opt_arch="js"),0 )
|
|
env.InsertDecl New TConstDecl.Create( "emscriptenjs",New TIntType,New TConstExpr.Create( New TIntType,opt_platform="emscripten" And opt_arch="js"),0 )
|