Changeset 1975 for trunk/src/kmk/file.c
- Timestamp:
- Oct 26, 2008, 11:48:35 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kmk/file.c
r1959 r1975 83 83 */ 84 84 85 #ifndef KMK85 #ifndef CONFIG_WITH_STRCACHE2 86 86 struct file * 87 87 lookup_file (const char *name) 88 #else /* KMK*/88 #else /* CONFIG_WITH_STRCACHE2 */ 89 89 MY_INLINE struct file * 90 90 lookup_file_common (const char *name, int cached) 91 #endif /* KMK*/91 #endif /* CONFIG_WITH_STRCACHE2 */ 92 92 { 93 93 struct file *f; … … 164 164 } 165 165 166 #ifdef KMK166 #ifdef CONFIG_WITH_STRCACHE2 167 167 /* Given a name, return the struct file * for that name, 168 168 or nil if there is none. */ … … 182 182 return lookup_file_common (name, 1 /* cached */); 183 183 } 184 #endif /* KMK*/184 #endif /* CONFIG_WITH_STRCACHE2 */ 185 185 186 186 … … 582 582 struct dep *new, *d1; 583 583 char *p; 584 #ifdef CONFIG_WITH_ VALUE_LENGTH584 #ifdef CONFIG_WITH_STRCACHE2 585 585 unsigned int len; 586 586 #endif … … 669 669 set_file_variables (f); 670 670 671 #if ndef CONFIG_WITH_STRCACHE2671 #if !defined (CONFIG_WITH_VALUE_LENGTH) || !defined (CONFIG_WITH_STRCACHE2) 672 672 p = variable_expand_for_file (d->name, f); 673 673 #else
Note:
See TracChangeset
for help on using the changeset viewer.