It might be useful to add this to OS.Constants.Sys, which is available to all threads. It's basically one line of code in dom/system/OSFileConstants.cpp
Cheers, David On 24/02/15 12:44, mratcli...@mozilla.com wrote: >> Assuming you just want to know what the architecture of the build is, not >> what the architecture of the machine it's running on is, you're making this >> far more complicated than it needs to be. > > We don't know what we will support in the future so I wanted a future proof > solution... adding is64bit to nsIXULAppInfo was unbelievably easy. > _______________________________________________ > dev-platform mailing list > dev-platform@lists.mozilla.org > https://lists.mozilla.org/listinfo/dev-platform > -- David Rajchenbach-Teller, PhD Performance Team, Mozilla
signature.asc
Description: OpenPGP digital signature
_______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform