diff options
author | athenian200 <athenian200@outlook.com> | 2019-10-19 14:24:49 -0500 |
---|---|---|
committer | athenian200 <athenian200@outlook.com> | 2019-10-21 04:53:45 -0500 |
commit | 687a798e6dedacb8b42826debcd8e89baa69ce94 (patch) | |
tree | e2ce9b1a8dd6822071051f4052fbdaee2feb5976 /modules/libjar | |
parent | e4f90cbb56b3cdcde52396b1aaa476cc8c5f07e5 (diff) | |
download | uxp-687a798e6dedacb8b42826debcd8e89baa69ce94.tar.gz |
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.
Diffstat (limited to 'modules/libjar')
-rw-r--r-- | modules/libjar/nsZipArchive.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/libjar/nsZipArchive.cpp b/modules/libjar/nsZipArchive.cpp index 24da13072c..841503ebf3 100644 --- a/modules/libjar/nsZipArchive.cpp +++ b/modules/libjar/nsZipArchive.cpp @@ -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); |