Changeset 470 for trunk/xc_shm.c


Ignore:
Timestamp:
2007-08-05T04:54:14+02:00 (7 years ago)
Author:
moo
Message:

merged r466 from b1.2: support shm-malloc only on --enable-xcache-test

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/xc_shm.c

    r163 r470  
    2020{ 
    2121    extern void xc_shm_mem_init(); 
     22#ifdef HAVE_XCACHE_TEST 
    2223    extern void xc_shm_malloc_register(); 
     24#endif 
    2325    extern void xc_shm_mmap_register(); 
    2426 
    2527    memset(xc_shm_schemes, 0, sizeof(xc_shm_schemes)); 
    2628    xc_shm_mem_init(); 
     29#ifdef HAVE_XCACHE_TEST 
    2730    xc_shm_malloc_register(); 
     31#endif 
    2832    xc_shm_mmap_register(); 
    2933} 
Note: See TracChangeset for help on using the changeset viewer.