[Brlcad-commits] CVS: brlcad/src/other/blt/src bltTree.c,1.2,1.3
Open Source Solid Modeling CAD
Brought to you by:
brlcad
From: Sean M. <br...@us...> - 2006-01-15 17:14:27
|
Update of /cvsroot/brlcad/brlcad/src/other/blt/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23297/src Modified Files: bltTree.c Log Message: there seem to be two macro names missing for systems where sizeof_void_p is 8 (MAX_LIST_VALUES and START_LOGSIZE) so move their defines outside the #if so everyone gets it. Index: bltTree.c =================================================================== RCS file: /cvsroot/brlcad/brlcad/src/other/blt/src/bltTree.c,v retrieving revision 1.2 retrieving revision 1.3 diff -w -u -r1.2 -r1.3 --- bltTree.c 23 Dec 2005 21:26:41 -0000 1.2 +++ bltTree.c 15 Jan 2006 17:14:17 -0000 1.3 @@ -96,16 +96,16 @@ #define REBUILD_MULTIPLIER 3 -#if (SIZEOF_VOID_P == 8) -#define RANDOM_INDEX(i) HashOneWord(mask, downshift, i) -#define BITSPERWORD 64 -#else - #define START_LOGSIZE 5 /* Initial hash table size is 32. */ #define MAX_LIST_VALUES 20 /* Convert to hash table when node * value list gets bigger than this * many values. */ +#if (SIZEOF_VOID_P == 8) +#define RANDOM_INDEX(i) HashOneWord(mask, downshift, i) +#define BITSPERWORD 64 +#else + /* * The following macro takes a preliminary integer hash value and * produces an index into a hash tables bucket list. The idea is |