mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-03 22:38:41 +09:00
Issue #1751 -- Remove XP_MACOSX conditionals from the rest of the tree.
This also removes some PP abuse and takes file entries out of PP when no longer needed without XP_MACOSX conditionals.
This commit is contained in:
parent
02c59100a8
commit
a4b0f333ba
153 changed files with 173 additions and 4556 deletions
|
|
@ -10,9 +10,6 @@
|
|||
#include "mozilla/WindowsDllBlocklist.h"
|
||||
|
||||
#include "nsXULAppAPI.h"
|
||||
#ifdef XP_MACOSX
|
||||
#include "xpcshellMacUtils.h"
|
||||
#endif
|
||||
#ifdef XP_WIN
|
||||
#include <windows.h>
|
||||
#include <shlobj.h>
|
||||
|
|
@ -37,10 +34,6 @@ main(int argc, char** argv, char** envp)
|
|||
gtk_parse_args(&argc, &argv);
|
||||
#endif
|
||||
|
||||
#ifdef XP_MACOSX
|
||||
InitAutoreleasePool();
|
||||
#endif
|
||||
|
||||
// unbuffer stdout so that output is in the correct order; note that stderr
|
||||
// is unbuffered by default
|
||||
setbuf(stdout, 0);
|
||||
|
|
@ -51,9 +44,5 @@ main(int argc, char** argv, char** envp)
|
|||
|
||||
int result = XRE_XPCShellMain(argc, argv, envp);
|
||||
|
||||
#ifdef XP_MACOSX
|
||||
FinishAutoreleasePool();
|
||||
#endif
|
||||
|
||||
return result;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue