mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-09 09:18:42 +09:00
MoonchildProductions#1251 - Part 27: Fix ifdef style.
This should do it for all the commits to files I changed, but while I'm in here I could probably go ahead and turn ALL the singular if defined statements into ifdef statements by using grep/find on the tree. On the other hand, perhaps we should do that as a separate issue so that this doesn't become a case of scope creep.
This commit is contained in:
parent
0ffa2c1711
commit
45bf760ac5
15 changed files with 26 additions and 26 deletions
|
|
@ -688,7 +688,7 @@ MOZ_WIN_MEM_TRY_BEGIN
|
|||
// Success means optimized jar layout from bug 559961 is in effect
|
||||
uint32_t readaheadLength = xtolong(startp);
|
||||
if (readaheadLength) {
|
||||
#if defined(XP_SOLARIS)
|
||||
#ifdef XP_SOLARIS
|
||||
posix_madvise(const_cast<uint8_t*>(startp), readaheadLength, POSIX_MADV_WILLNEED);
|
||||
#elif defined(XP_UNIX)
|
||||
madvise(const_cast<uint8_t*>(startp), readaheadLength, MADV_WILLNEED);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue