Browse Source

* fixed compilation of JVM rtls after r24188 (there is no JMP_BUF type
on that platform)

git-svn-id: trunk@24259 -

Jonas Maebe 12 years ago
parent
commit
9023148bb1
1 changed files with 4 additions and 0 deletions
  1. 4 0
      compiler/globals.pas

+ 4 - 0
compiler/globals.pas

@@ -1635,7 +1635,11 @@ implementation
           in options or init_parser }
           in options or init_parser }
         stacksize:=0;
         stacksize:=0;
         { not initialized yet }
         { not initialized yet }
+{$ifndef jvm}
         jmp_buf_size:=-1;
         jmp_buf_size:=-1;
+{$else}
+        jmp_buf_size:=0;
+{$endif}
         apptype:=app_cui;
         apptype:=app_cui;
 
 
         { Init values }
         { Init values }