Using PR_ALIGN_OF_POINTER instead of sizeof(void*) since the preprocessor can't do math on a sizeof expression. Still fixing the same bustage.

git-svn-id: svn://10.0.0.236/trunk@111418 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
dbaron%fas.harvard.edu 2002-01-05 16:40:21 +00:00
parent a16848c716
commit 65120036dc

View File

@ -183,7 +183,7 @@ class PrefNameBuffer;
// PR_ALIGN_OF_WORD is only defined on some platforms. ALIGN_OF_WORD has
// already been defined to PR_ALIGN_OF_WORD everywhere
#ifndef PR_ALIGN_OF_WORD
#define PR_ALIGN_OF_WORD sizeof(void*)
#define PR_ALIGN_OF_WORD PR_ALIGN_OF_POINTER
#endif
// making PrefNameBuffer exactly 8k for nice allocation