Changeset 527 for trunk/src/gmake/variable.c
- Timestamp:
- Sep 17, 2006, 6:04:14 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gmake/variable.c
r526 r527 104 104 /* Hash table of all global variable definitions. */ 105 105 106 #ifdef KMK106 #ifdef CONFIG_WITH_OPTIMIZATION_HACKS 107 107 # ifdef _MSC_VER 108 108 # define inline _inline … … 156 156 } 157 157 } 158 #endif /* KMK*/158 #endif /* CONFIG_WITH_OPTIMIZATION_HACKS */ 159 159 160 160 static unsigned long … … 171 171 return key->hash1; 172 172 #else 173 # ifdef KMK173 # ifdef CONFIG_WITH_OPTIMIZATION_HACKS 174 174 return variable_hash_1i (key->name, key->length); 175 175 # else … … 189 189 #else 190 190 struct variable const *key = (struct variable const *) keyv; 191 # ifdef KMK191 # ifdef CONFIG_WITH_OPTIMIZATION_HACKS 192 192 return variable_hash_2i (key->name, key->length); 193 193 # else … … 221 221 return result; 222 222 #endif 223 #ifdef KMK/* bird: speed */223 #ifdef CONFIG_WITH_OPTIMIZATION_HACKS /* bird: speed */ 224 224 { 225 225 const char *xs = x->name; … … 259 259 } 260 260 } 261 #endif /* KMK*/261 #endif /* CONFIG_WITH_OPTIMIZATION_HACKS */ 262 262 #ifdef VARIABLE_HASH 263 263 /* hash 2 */ … … 270 270 return result; 271 271 #endif 272 #ifdef KMK272 #ifdef CONFIG_WITH_OPTIMIZATION_HACKS 273 273 return memcmp (x->name, y->name, x->length); 274 274 #else … … 299 299 { 300 300 hash_init (&global_variable_set.table, 301 #ifdef KMK 301 #ifdef KMK /* FIMXE: just redefine the bucket size! */ 302 302 16384, 303 303 #else
Note:
See TracChangeset
for help on using the changeset viewer.