Changeset 466 for branches/1.2/xc_shm.c


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

support shm-malloc only on --enable-xcache-test

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.2/xc_shm.c

    r163 r466  
    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.