зеркало из https://github.com/mozilla/gecko-dev.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:
Родитель
5ef46c09b9
Коммит
340dd51c8c
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче