You can use runtime checks for the OS, e.g. using Services.appinfo Philipp
On 2/1/16 11:09 AM, 罗勇刚(Yonggang Luo) wrote: > I means there is any instruction in XUL > to remove the #ifdef XP_MACOSX > but still preserve the semantics. > > On Mon, Feb 1, 2016 at 2:55 PM, Martin Thomson <m...@mozilla.com> wrote: > >> sed -i~ -e '/#ifdef XP_MACOSX/d' xul files >> >> I think that we need more information on what it is that you intend to >> do if we are to make a sensible suggestion. >> >> On Mon, Feb 1, 2016 at 5:23 PM, Yonggang Luo <luoyongg...@gmail.com> >> wrote: >>> How to remove #ifdef XP_MACOSX in xul files? _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform