зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
23446adef4
Коммит
aac13062de
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче