diff options
author | athenian200 <athenian200@outlook.com> | 2019-10-19 14:24:49 -0500 |
---|---|---|
committer | athenian200 <athenian200@outlook.com> | 2019-10-21 04:53:45 -0500 |
commit | 6da3518d4fede6fc204af5bf267b50d23a471f9a (patch) | |
tree | e2ce9b1a8dd6822071051f4052fbdaee2feb5976 /toolkit | |
parent | b16492e023e3b3fdc17821a5833978b0c0d19d69 (diff) | |
download | uxp-6da3518d4fede6fc204af5bf267b50d23a471f9a.tar.gz |
MoonchildProductions#1251 - Part 27: Fix ifdef style.
This should do it for all the commits to files I changed, but while I'm in here I could probably go ahead and turn ALL the singular if defined statements into ifdef statements by using grep/find on the tree. On the other hand, perhaps we should do that as a separate issue so that this doesn't become a case of scope creep.
Diffstat (limited to 'toolkit')
-rw-r--r-- | toolkit/components/terminator/nsTerminator.cpp | 4 | ||||
-rw-r--r-- | toolkit/xre/nsSigHandlers.cpp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/toolkit/components/terminator/nsTerminator.cpp b/toolkit/components/terminator/nsTerminator.cpp index 007885b8d4..9f6a90b575 100644 --- a/toolkit/components/terminator/nsTerminator.cpp +++ b/toolkit/components/terminator/nsTerminator.cpp @@ -30,7 +30,7 @@ #include "nsIObserverService.h" #include "nsIPrefService.h" -#if defined(XP_WIN) +#ifdef XP_WIN #include <windows.h> #else #include <unistd.h> @@ -385,7 +385,7 @@ nsTerminator::StartWatchdog() } UniquePtr<Options> options(new Options()); -#if !defined(XP_SOLARIS) +#ifdef XP_SOLARIS const PRIntervalTime ticksDuration = PR_MillisecondsToInterval(1000); #else const PRIntervalTime ticksDuration = 1000; diff --git a/toolkit/xre/nsSigHandlers.cpp b/toolkit/xre/nsSigHandlers.cpp index a3a366f952..660af4522b 100644 --- a/toolkit/xre/nsSigHandlers.cpp +++ b/toolkit/xre/nsSigHandlers.cpp @@ -32,7 +32,7 @@ #endif #endif -#if defined(XP_SOLARIS) +#ifdef XP_SOLARIS #include <sys/resource.h> #include <ucontext.h> #endif @@ -286,7 +286,7 @@ void InstallSignalHandlers(const char *aProgname) } #endif -#if defined(XP_SOLARIS) +#ifdef XP_SOLARIS #define NOFILES 512 // Boost Solaris file descriptors |