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.

This commit is contained in:
dbaron%fas.harvard.edu 2002-01-05 16:40:21 +00:00
Родитель 5ef46c09b9
Коммит 340dd51c8c
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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