@@ -243,7 +243,7 @@ struct HTAB
243243 */
244244#define MOD (x ,y ) ((x) & ((y)-1))
245245
246- #if HASH_STATISTICS
246+ #ifdef HASH_STATISTICS
247247static long hash_accesses ,
248248hash_collisions ,
249249hash_expansions ;
@@ -706,7 +706,7 @@ init_htab(HTAB *hashp, long nelem)
706706/* Choose number of entries to allocate at a time */
707707hctl -> nelem_alloc = choose_nelem_alloc (hctl -> entrysize );
708708
709- #if HASH_DEBUG
709+ #ifdef HASH_DEBUG
710710fprintf (stderr ,"init_htab:\n%s%p\n%s%ld\n%s%ld\n%s%d\n%s%ld\n%s%u\n%s%x\n%s%x\n%s%ld\n" ,
711711"TABLE POINTER " ,hashp ,
712712"DIRECTORY SIZE " ,hctl -> dsize ,
@@ -832,7 +832,7 @@ hash_destroy(HTAB *hashp)
832832void
833833hash_stats (const char * where ,HTAB * hashp )
834834{
835- #if HASH_STATISTICS
835+ #ifdef HASH_STATISTICS
836836fprintf (stderr ,"%s: this HTAB -- accesses %ld collisions %ld\n" ,
837837where ,hashp -> hctl -> accesses ,hashp -> hctl -> collisions );
838838
@@ -933,7 +933,7 @@ hash_search_with_hash_value(HTAB *hashp,
933933HASHBUCKET * prevBucketPtr ;
934934HashCompareFunc match ;
935935
936- #if HASH_STATISTICS
936+ #ifdef HASH_STATISTICS
937937hash_accesses ++ ;
938938hctl -> accesses ++ ;
939939#endif
@@ -988,7 +988,7 @@ hash_search_with_hash_value(HTAB *hashp,
988988break ;
989989prevBucketPtr = & (currBucket -> link );
990990currBucket = * prevBucketPtr ;
991- #if HASH_STATISTICS
991+ #ifdef HASH_STATISTICS
992992hash_collisions ++ ;
993993hctl -> collisions ++ ;
994994#endif
@@ -1130,7 +1130,7 @@ hash_update_hash_key(HTAB *hashp,
11301130HASHBUCKET * oldPrevPtr ;
11311131HashCompareFunc match ;
11321132
1133- #if HASH_STATISTICS
1133+ #ifdef HASH_STATISTICS
11341134hash_accesses ++ ;
11351135hctl -> accesses ++ ;
11361136#endif
@@ -1204,7 +1204,7 @@ hash_update_hash_key(HTAB *hashp,
12041204break ;
12051205prevBucketPtr = & (currBucket -> link );
12061206currBucket = * prevBucketPtr ;
1207- #if HASH_STATISTICS
1207+ #ifdef HASH_STATISTICS
12081208hash_collisions ++ ;
12091209hctl -> collisions ++ ;
12101210#endif