diff options
author | Brian Smith <brian@dbsoft.org> | 2022-04-26 11:07:23 -0500 |
---|---|---|
committer | Brian Smith <brian@dbsoft.org> | 2022-04-26 11:07:23 -0500 |
commit | 9e2a89c71ddf67975da35eb100673f6b5546f292 (patch) | |
tree | ca7b972015f5ad2388d416fa0ec8f506cc9fb8d6 /build | |
parent | 68d1c14bdf79d1c536ae05a4ce33fd9601c277eb (diff) | |
download | uxp-9e2a89c71ddf67975da35eb100673f6b5546f292.tar.gz |
Issue #1829 - Revert "Issue #1751 -- Remove XP_DARWIN"
This reverts commit 3d671e4275c73a1484c72713304c6e04ec4ffc7c.
Diffstat (limited to 'build')
-rw-r--r-- | build/moz.configure/init.configure | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/build/moz.configure/init.configure b/build/moz.configure/init.configure index b2d05e795a..893da821cd 100644 --- a/build/moz.configure/init.configure +++ b/build/moz.configure/init.configure @@ -541,6 +541,13 @@ def target_is_unix(target): set_define('XP_UNIX', target_is_unix) @depends(target) +def target_is_darwin(target): + if target.kernel == 'Darwin': + return True + +set_define('XP_DARWIN', target_is_darwin) + +@depends(target) def target_is_osx(target): if target.kernel == 'Darwin' and target.os == 'OSX': return True |