mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-06 07:48:38 +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
|
|
@ -41,8 +41,6 @@ void UpdateLog::Init(NS_tchar* sourcePath,
|
|||
// updater process if the elevated updater process has written the log.
|
||||
DeleteFileW(mDstFilePath);
|
||||
}
|
||||
#elif XP_MACOSX
|
||||
logFP = NS_tfopen(mDstFilePath, NS_T("w"));
|
||||
#else
|
||||
// On platforms that have an updates directory in the installation directory
|
||||
// (e.g. platforms other than Windows and Mac) the update log is written to
|
||||
|
|
@ -61,7 +59,7 @@ void UpdateLog::Finish()
|
|||
return;
|
||||
}
|
||||
|
||||
#if !defined(XP_WIN) && !defined(XP_MACOSX)
|
||||
#if !defined(XP_WIN)
|
||||
const int blockSize = 1024;
|
||||
char buffer[blockSize];
|
||||
fflush(logFP);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue