From f048baf1c106df573082c6510da0990d66847ea5 Mon Sep 17 00:00:00 2001 From: Rudy Ges Date: Wed, 31 Jan 2024 22:05:26 +0100 Subject: [PATCH] Fix platform --- src/macro/macroApi.ml | 10 +++++----- std/haxe/macro/Compiler.hx | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/macro/macroApi.ml b/src/macro/macroApi.ml index 4e5b01e85a7..b738319e442 100644 --- a/src/macro/macroApi.ml +++ b/src/macro/macroApi.ml @@ -439,11 +439,11 @@ and encode_platform p = | Flash -> 4, [] | Php -> 5, [] | Cpp -> 6, [] - | Jvm -> 8, [] - | Python -> 9, [] - | Hl -> 10, [] - | Eval -> 11, [] - | CustomTarget s -> 12, [(encode_string s)] + | Jvm -> 7, [] + | Python -> 8, [] + | Hl -> 9, [] + | Eval -> 10, [] + | CustomTarget s -> 11, [(encode_string s)] in encode_enum ~pos:None IPlatform tag pl diff --git a/std/haxe/macro/Compiler.hx b/std/haxe/macro/Compiler.hx index 317cb823a84..42fee5f1cbc 100644 --- a/std/haxe/macro/Compiler.hx +++ b/std/haxe/macro/Compiler.hx @@ -751,7 +751,7 @@ enum Platform { Flash; Php; Cpp; - Java; + Jvm; Python; Hl; Eval;