Browse Source

* OS/2 heap management modified to be able to grow heap as needed

Tomas Hajny 21 years ago
parent
commit
9238319c2f
1 changed files with 7 additions and 2 deletions
  1. 7 2
      compiler/pmodules.pas

+ 7 - 2
compiler/pmodules.pas

@@ -361,7 +361,9 @@ implementation
           On OS/2 the heap is also intialized by the RTL. We do
           On OS/2 the heap is also intialized by the RTL. We do
           not output a pointer }
           not output a pointer }
          case target_info.system of
          case target_info.system of
-            system_i386_OS2,system_i386_EMX:
+            system_i386_OS2:
+                bssSegment.concat(Tai_datablock.Create_global('HEAP',4));
+            system_i386_EMX:
               ;
               ;
             system_powerpc_macos:
             system_powerpc_macos:
               ;
               ;
@@ -1452,7 +1454,10 @@ implementation
 end.
 end.
 {
 {
   $Log$
   $Log$
-  Revision 1.147  2004-03-18 11:43:57  olle
+  Revision 1.148  2004-03-24 20:24:25  hajny
+    * OS/2 heap management modified to be able to grow heap as needed
+
+  Revision 1.147  2004/03/18 11:43:57  olle
     * change AT_FUNCTION to AT_DATA where appropriate
     * change AT_FUNCTION to AT_DATA where appropriate
 
 
   Revision 1.146  2004/03/14 20:10:14  peter
   Revision 1.146  2004/03/14 20:10:14  peter