/[gcl]/gcl/o/alloc.c
ViewVC logotype

Diff of /gcl/o/alloc.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.42 by camm, Mon Aug 16 17:28:55 2004 UTC revision 1.43 by mjthomas, Thu Oct 14 07:19:43 2004 UTC
# Line 34  Foundation, 675 Mass Ave, Cambridge, MA Line 34  Foundation, 675 Mass Ave, Cambridge, MA
34  static int  static int
35  t_from_type(object);  t_from_type(object);
36    
   
37  DEFVAR("*AFTER-GBC-HOOK*",sSAafter_gbc_hookA,SI,sLnil,"");  DEFVAR("*AFTER-GBC-HOOK*",sSAafter_gbc_hookA,SI,sLnil,"");
38  DEFVAR("*IGNORE-MAXIMUM-PAGES*",sSAignore_maximum_pagesA,SI,sLt,"");  DEFVAR("*IGNORE-MAXIMUM-PAGES*",sSAignore_maximum_pagesA,SI,sLt,"");
39  #define IGNORE_MAX_PAGES (sSAignore_maximum_pagesA ==0 || sSAignore_maximum_pagesA->s.s_dbind !=sLnil)  #define IGNORE_MAX_PAGES (sSAignore_maximum_pagesA ==0 || sSAignore_maximum_pagesA->s.s_dbind !=sLnil)
# Line 846  set_maxpage(void) { Line 845  set_maxpage(void) {
845  #endif  #endif
846        
847    SET_REAL_MAXPAGE;    SET_REAL_MAXPAGE;
   
848  }  }
849    
850    
# Line 1498  malloc(size_t size) { Line 1496  malloc(size_t size) {
1496                  RECREATE_HEAP                  RECREATE_HEAP
1497  #endif  #endif
1498                  ;                  ;
1499    #ifdef       __MINGW32__
1500                    /* If malloc() gets called by the C runtime before
1501                     * main starts and the shared memory is not yet
1502                     * initialised causing boofo.
1503                     * SET_REAL_MAXPAGE calls init_shared_memory().
1504                     * This problem arose with gcc 3.4.2 and new libs.
1505                     */
1506                    SET_REAL_MAXPAGE
1507                    ;
1508    #endif
1509             }             }
1510          }          }
1511    

Legend:
Removed from v.1.42  
changed lines
  Added in v.1.43

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26