diff options
author | Matt A. Tobin <email@mattatobin.com> | 2018-04-22 19:15:20 -0400 |
---|---|---|
committer | Matt A. Tobin <email@mattatobin.com> | 2018-04-22 19:15:20 -0400 |
commit | 1916969baaa5d2bd84f323ca0510ba2c8a04ef58 (patch) | |
tree | 42881b6a223f6142502f943568aabf4064fd1c44 /build | |
parent | 3c48cc85098587c7f3a6cefe133a94468927d100 (diff) | |
download | uxp-1916969baaa5d2bd84f323ca0510ba2c8a04ef58.tar.gz |
Fix preprocessor conditional precedence in application.ini
Diffstat (limited to 'build')
-rw-r--r-- | build/application.ini | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/build/application.ini b/build/application.ini index c3ab3abddb..8f65421ed0 100644 --- a/build/application.ini +++ b/build/application.ini @@ -18,14 +18,18 @@ #include @TOPOBJDIR@/buildid.h #include @TOPOBJDIR@/source-repo.h [App] -#if defined(MC_OFFICIAL) && defined(MC_PALEMOON) || defined(MC_BASILISK) +#ifdef MC_OFFICIAL +#if defined(MC_PALEMOON) || defined(MC_BASILISK) Vendor=Moonchild Productions -#elif defined(MC_OFFICIAL) && defined(BINOC_BOREALIS) +#elif defined(BINOC_BOREALIS) Vendor=Binary Outcast #else Vendor=@MOZ_APP_VENDOR@ #endif -#if defined(MC_OFFICIAL) && defined(MC_PALEMOON) +#else +Vendor=@MOZ_APP_VENDOR@ +#endif +#ifdef MC_PALEMOON Name=Pale Moon #else Name=@MOZ_APP_BASENAME@ |