mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 547964 - r=dbaron
--HG-- extra : rebase_source : 88834502ab1cdac1aa7dac9557ee1aa40ccc354f
This commit is contained in:
parent
b1eaf1cf2d
commit
4a8eff8ae8
@ -97,6 +97,13 @@
|
||||
#include "nsIDOMSVGTransformable.h"
|
||||
#endif // MOZ_SMIL
|
||||
|
||||
// This is needed to ensure correct handling of calls to the
|
||||
// vararg-list methods in this file:
|
||||
// nsSVGElement::GetAnimated{Length,Number,Integer}Values
|
||||
// See bug 547964 for details:
|
||||
PR_STATIC_ASSERT(sizeof(void*) == sizeof(nsnull));
|
||||
|
||||
|
||||
nsSVGEnumMapping nsSVGElement::sSVGUnitTypesMap[] = {
|
||||
{&nsGkAtoms::userSpaceOnUse, nsIDOMSVGUnitTypes::SVG_UNIT_TYPE_USERSPACEONUSE},
|
||||
{&nsGkAtoms::objectBoundingBox, nsIDOMSVGUnitTypes::SVG_UNIT_TYPE_OBJECTBOUNDINGBOX},
|
||||
|
@ -369,9 +369,15 @@ typedef PRUint32 nsrefcnt;
|
||||
#endif
|
||||
|
||||
/**
|
||||
* The preferred symbol for null.
|
||||
* The preferred symbol for null. Make sure this is the same size as
|
||||
* void* on the target. See bug 547964.
|
||||
*/
|
||||
#define nsnull 0
|
||||
#if defined(_WIN64)
|
||||
# define nsnull 0LL
|
||||
#else
|
||||
# define nsnull 0L
|
||||
#endif
|
||||
|
||||
|
||||
#include "nsError.h"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user