mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-08 00:38:39 +09:00
gmp: replace preprocessor directives with AppConstants conditions
This commit is contained in:
parent
e207b5a162
commit
ef6b9353a3
1 changed files with 5 additions and 5 deletions
|
|
@ -86,11 +86,11 @@ this.GMPUtils = {
|
|||
},
|
||||
|
||||
_is32bitModeMacOS: function() {
|
||||
#ifdef XP_MACOSX
|
||||
return Services.appinfo.XPCOMABI.split("-")[0] == "x86";
|
||||
#else
|
||||
return false;
|
||||
#endif
|
||||
if (AppConstants.platform != "macosx") {
|
||||
return Services.appinfo.XPCOMABI.split("-")[0] == "x86";
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue