mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-26 17:17:31 +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() {
|
_is32bitModeMacOS: function() {
|
||||||
#ifdef XP_MACOSX
|
if (AppConstants.platform != "macosx") {
|
||||||
return Services.appinfo.XPCOMABI.split("-")[0] == "x86";
|
return Services.appinfo.XPCOMABI.split("-")[0] == "x86";
|
||||||
#else
|
} else {
|
||||||
return false;
|
return false;
|
||||||
#endif
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue