mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-03 22:38:41 +09:00
Issue #1905 - Part 4b - Fix issue loading the profile and saving changes to the profile. Based on the following Mozilla bugs: 1659904, 1659905 and 1659077.
This commit is contained in:
parent
35ba45aa32
commit
7e63a3f440
5 changed files with 24 additions and 13 deletions
|
|
@ -711,10 +711,10 @@ static const dom::ConstantSpec gLibcProperties[] =
|
|||
// Under MacOSX, to avoid using deprecated functions that do not
|
||||
// match the constants we define in this object (including
|
||||
// |sizeof|/|offsetof| stuff, but not only), for a number of
|
||||
// functions, we need to adapt the name of the symbols we are using,
|
||||
// whenever macro _DARWIN_FEATURE_64_BIT_INODE is set. We export
|
||||
// this value to be able to do so from JavaScript.
|
||||
#if defined(_DARWIN_FEATURE_64_BIT_INODE)
|
||||
// functions, we need to use functions with a $INODE64 suffix.
|
||||
// That is true on Intel-based mac when the _DARWIN_FEATURE_64_BIT_INODE
|
||||
// macro is set. But not on Apple Silicon.
|
||||
#if defined(_DARWIN_FEATURE_64_BIT_INODE) && !defined(__aarch64__)
|
||||
{ "_DARWIN_FEATURE_64_BIT_INODE", JS::Int32Value(1) },
|
||||
#endif // defined(_DARWIN_FEATURE_64_BIT_INODE)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue