On 01/02/2016 14:23, Yonggang Luo wrote: > How to remove #ifdef XP_MACOSX in xul files?
1. Move the OSX/WIN/NIX specific markup to separate XUL overlays. 2a. Ship different overlays depending on OS target. 2b. Use a chrome.manifest file with overlay directives and os specific flags. SeaMonkey does 2a. We ship different platformCommunicatorOverlay.xul files for each of the three tier 1 platforms. Phil -- Philip Chee <phi...@aleytys.pc.my>, <philip.c...@gmail.com> http://flashblock.mozdev.org/ http://xsidebar.mozdev.org Guard us from the she-wolf and the wolf, and guard us from the thief, oh Night, and so be good for us to pass. _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform