Browse Source

* fixed compilation with -dnounsupported

git-svn-id: branches/jvmbackend@18619 -
Jonas Maebe 14 năm trước cách đây
mục cha
commit
d64f5d14d6
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      compiler/jvm/njvmcnv.pas

+ 2 - 1
compiler/jvm/njvmcnv.pas

@@ -917,8 +917,9 @@ implementation
 {$ifndef nounsupported}
       if checkdef.typ=procvardef then
         checkdef:=java_jlobject
+      else
 {$endif}
-      else if is_wide_or_unicode_string(checkdef) then
+      if is_wide_or_unicode_string(checkdef) then
         checkdef:=java_jlstring
       else if is_ansistring(checkdef) then
         checkdef:=java_ansistring