Broken #ifdef in nsCSSParser.cpp if --disable-xul used

RESOLVED FIXED

Status

()

RESOLVED FIXED
17 years ago
16 years ago

People

(Reporter: kevink, Assigned: rods)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

17 years ago
mozilla/content/html/style/src/nsCSSParser.cpp
cannot be compiled if INCLUDE_XUL is not defined,
as is the case if --disable-xul is used at configure
time.  At first glance, this would appear to be due
to the #ifdef/#endif bracketing the curly brace
at line 2193 of the file (in the 1.0 sources).
Looking at the code, it looks to me as if that
brace needs to be there regardless of the state
of INCLUDE_XUL.  If I remove the #ifdef/#endif,
the module compiles.

Comment 1

16 years ago
Kevin, is this still a problem with the latest release/build's source code?
This got fixed long ago by part of the patch for bug 35768
Status: UNCONFIRMED → RESOLVED
Last Resolved: 16 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.