Explorar el Código

* fixed compilation with -dnounsupported

git-svn-id: branches/jvmbackend@18619 -
Jonas Maebe hace 14 años
padre
commit
d64f5d14d6
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  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