Ignore:
Timestamp:
Oct 14, 2008, 11:46:23 AM (17 years ago)
Author:
bird
Message:

kmk: Allocation caches for nameseq, dep and idep. next: variable.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kmk/default.c

    r903 r1863  
    555555      char *p = default_suffixes;
    556556      suffix_file->deps = (struct dep *)
     557#ifndef CONFIG_WITH_ALLOC_CACHES
    557558        multi_glob (parse_file_seq (&p, '\0', sizeof (struct dep), 1),
    558559                    sizeof (struct dep));
     560#else
     561        multi_glob (parse_file_seq (&p, '\0', &dep_cache, 1), &dep_cache);
     562#endif
    559563      define_variable ("SUFFIXES", 8, default_suffixes, o_default, 0);
    560564    }
Note: See TracChangeset for help on using the changeset viewer.