Bug 942486 - Move PL_ARENA_CONST_ALIGN_MASK out of nsZipArchive.h; r=mwu

--HG--
extra : rebase_source : 92410d30a1f8ae6d9df4fb6e6b278dc6307460a0
This commit is contained in:
Ehsan Akhgari 2013-11-25 15:44:25 -05:00
parent 4b0a488749
commit b3d8e74795
2 changed files with 5 additions and 4 deletions

View File

@ -10,6 +10,11 @@
* or pointers to it across thread boundaries.
*/
// This must be the first include in the file in order for the
// PL_ARENA_CONST_ALIGN_MASK macro to be effective.
#define PL_ARENA_CONST_ALIGN_MASK (sizeof(void*)-1)
#include "plarena.h"
#define READTYPE int32_t
#include "zlib.h"
#include "nsISupportsUtils.h"

View File

@ -11,11 +11,7 @@
#define ZIP_TABSIZE 256
#define ZIP_BUFLEN (4*1024) /* Used as output buffer when deflating items to a file */
#ifndef PL_ARENA_CONST_ALIGN_MASK
#define PL_ARENA_CONST_ALIGN_MASK (sizeof(void*)-1)
#endif
#include "plarena.h"
#include "zlib.h"
#include "zipstruct.h"
#include "nsAutoPtr.h"