summaryrefslogtreecommitdiff
path: root/dom/plugins
diff options
context:
space:
mode:
authorathenian200 <athenian200@outlook.com>2019-10-19 14:24:49 -0500
committerathenian200 <athenian200@outlook.com>2019-10-21 04:53:45 -0500
commit6da3518d4fede6fc204af5bf267b50d23a471f9a (patch)
treee2ce9b1a8dd6822071051f4052fbdaee2feb5976 /dom/plugins
parentb16492e023e3b3fdc17821a5833978b0c0d19d69 (diff)
downloaduxp-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 'dom/plugins')
-rw-r--r--dom/plugins/base/nsPluginsDirUnix.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/dom/plugins/base/nsPluginsDirUnix.cpp b/dom/plugins/base/nsPluginsDirUnix.cpp
index 22d6bd44b3..de3b7a2d19 100644
--- a/dom/plugins/base/nsPluginsDirUnix.cpp
+++ b/dom/plugins/base/nsPluginsDirUnix.cpp
@@ -19,7 +19,7 @@
#include "nsIPrefService.h"
#define LOCAL_PLUGIN_DLL_SUFFIX ".so"
-#if defined(XP_SOLARIS)
+#ifdef XP_SOLARIS
#define DEFAULT_X11_PATH "/usr/openwin/lib"
#elif defined(LINUX)
#define DEFAULT_X11_PATH "/usr/X11R6/lib/"
@@ -94,7 +94,7 @@ static bool LoadExtraSharedLib(const char *name, char **soname, bool tryToGetSon
#define PLUGIN_MAX_NUMBER_OF_EXTRA_LIBS 32
#define PREF_PLUGINS_SONAME "plugin.soname.list"
-#if defined (XP_SOLARIS)
+#ifdef XP_SOLARIS
#define DEFAULT_EXTRA_LIBS_LIST "libXt" LOCAL_PLUGIN_DLL_SUFFIX ":libXext" LOCAL_PLUGIN_DLL_SUFFIX ":libXm" LOCAL_PLUGIN_DLL_SUFFIX
#else
#define DEFAULT_EXTRA_LIBS_LIST "libXt" LOCAL_PLUGIN_DLL_SUFFIX ":libXext" LOCAL_PLUGIN_DLL_SUFFIX