Closed Bug 151299 Opened 24 years ago Closed 23 years ago

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

Categories

(Core :: Layout: Form Controls, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: kevink, Assigned: rods)

Details

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.
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
Closed: 23 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.