mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 00:01:50 +00:00
Bug 1062874 - part 1 - remove preprocessor-requiring bits from head_libmar.js.in; r=bbondy
This commit is contained in:
parent
5cdb401e29
commit
74632e9bd3
@ -1,15 +1,12 @@
|
||||
/* Any copyright is dedicated to the Public Domain.
|
||||
http://creativecommons.org/publicdomain/zero/1.0/ */
|
||||
|
||||
const BIN_SUFFIX = "@BIN_SUFFIX@";
|
||||
const Cc = Components.classes;
|
||||
const Ci = Components.interfaces;
|
||||
|
||||
#ifdef XP_WIN
|
||||
let refMARPrefix = "win_";
|
||||
#else
|
||||
let refMARPrefix = "";
|
||||
#endif
|
||||
const isWindows = ("@mozilla.org/windows-registry-key;1" in Components.classes);
|
||||
const refMARPrefix = (isWindows ? "win_" : "");
|
||||
const BIN_SUFFIX = (isWindows ? ".exe" : "");
|
||||
|
||||
let tempDir = do_get_tempdir();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user