Closed Bug 420180 Opened 16 years ago Closed 16 years ago

use the preprocessor on ImageUtils.jsm and install-shortcut.js

Categories

(Mozilla Labs :: Prism, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: nossralf, Assigned: nossralf)

Details

Attachments

(2 files)

There are still a couple of places where it makes more sense to use the preprocessor, rather than run-time checks, to create platform-specific behavior. Namely:
ImageUtils.jsm
install-shortcut.js

I used separate patches for each file. Once again; I'm using hg locally, so use "patch -p1" to apply them.
With these changes (and the ones that were landed in bug 419851), bug 418208 should be solved, since the order of #ifdefs use the Windows case as the catch-all default, so Mingw builds should use the correct Windows behavior.
Attachment #306381 - Flags: review?(mark.finkle)
Attachment #306381 - Flags: review?(mark.finkle) → review+
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
Better solution than my patch, thank you!
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: