Closed Bug 449721 Opened 16 years ago Closed 16 years ago

round() doesn't exist on some systems, use NS_round() instead

Categories

(Firefox :: General, defect)

Other
Other
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 449718

People

(Reporter: jimis, Unassigned)

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.1) Gecko/2008071615 Fedora/3.0.1-1.fc9 Firefox/3.0.1
Build Identifier: Firefox/3.0.1

round() is a C99 function and doesn't exist on all systems like SGI Irix (it provides rint() for rounding). Apply the following patch to allow gfx/src/thebes/nsThebesDeviceContext.cpp, the only file calling round(), to compile cleanly. 

Reproducible: Always
bugzilla timed out while submitting the bug, so I submitted it twice
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.