Changeset 470 in svn for trunk/xc_shm.c


Ignore:
Timestamp:
2007-08-05T02:54:14Z (8 years ago)
Author:
Xuefer
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.