Procházet zdrojové kódy

* fixed compilation with -dnounsupported

git-svn-id: branches/jvmbackend@18619 -
Jonas Maebe před 14 roky
rodič
revize
d64f5d14d6
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  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