Ignore:
Timestamp:
Sep 17, 2006, 6:04:14 AM (19 years ago)
Author:
bird
Message:

CONFIG_WITH_OPTIMIZATION_HACKS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gmake/variable.c

    r526 r527  
    104104/* Hash table of all global variable definitions.  */
    105105
    106 #ifdef KMK
     106#ifdef CONFIG_WITH_OPTIMIZATION_HACKS
    107107# ifdef _MSC_VER
    108108#  define inline _inline
     
    156156    }
    157157}
    158 #endif /* KMK */
     158#endif /* CONFIG_WITH_OPTIMIZATION_HACKS */
    159159
    160160static unsigned long
     
    171171  return key->hash1;
    172172#else
    173 # ifdef KMK
     173# ifdef CONFIG_WITH_OPTIMIZATION_HACKS
    174174  return variable_hash_1i (key->name, key->length);
    175175# else
     
    189189#else
    190190  struct variable const *key = (struct variable const *) keyv;
    191 # ifdef KMK
     191# ifdef CONFIG_WITH_OPTIMIZATION_HACKS
    192192  return variable_hash_2i (key->name, key->length);
    193193# else
     
    221221    return result;
    222222#endif
    223 #ifdef KMK /* bird: speed */
     223#ifdef CONFIG_WITH_OPTIMIZATION_HACKS /* bird: speed */
    224224  {
    225225    const char *xs = x->name;
     
    259259      }
    260260  }
    261 #endif /* KMK */
     261#endif /* CONFIG_WITH_OPTIMIZATION_HACKS */
    262262#ifdef VARIABLE_HASH
    263263  /* hash 2 */
     
    270270    return result;
    271271#endif
    272 #ifdef KMK
     272#ifdef CONFIG_WITH_OPTIMIZATION_HACKS
    273273  return memcmp (x->name, y->name, x->length);
    274274#else
     
    299299{
    300300  hash_init (&global_variable_set.table,
    301 #ifdef KMK
     301#ifdef KMK /* FIMXE: just redefine the bucket size! */
    302302             16384,
    303303#else
Note: See TracChangeset for help on using the changeset viewer.