summaryrefslogtreecommitdiffstats
path: root/dom/plugins/base
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2019-03-31 18:43:10 +0200
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-03-31 18:43:10 +0200
commit5d409fdca92e085dad2f9c80b42f33afe4f10800 (patch)
treeb662a22783a8739291f90788e18699825795a6ef /dom/plugins/base
parent49a3f5a53793d75cd243936e22f99b798e84c84b (diff)
downloadUXP-5d409fdca92e085dad2f9c80b42f33afe4f10800.tar
UXP-5d409fdca92e085dad2f9c80b42f33afe4f10800.tar.gz
UXP-5d409fdca92e085dad2f9c80b42f33afe4f10800.tar.lz
UXP-5d409fdca92e085dad2f9c80b42f33afe4f10800.tar.xz
UXP-5d409fdca92e085dad2f9c80b42f33afe4f10800.zip
Remove AIX 1st party code OS checks, part 1
Issue #186
Diffstat (limited to 'dom/plugins/base')
-rw-r--r--dom/plugins/base/nptypes.h12
-rw-r--r--dom/plugins/base/nsPluginsDirUnix.cpp3
2 files changed, 0 insertions, 15 deletions
diff --git a/dom/plugins/base/nptypes.h b/dom/plugins/base/nptypes.h
index a0762abe8..c36532472 100644
--- a/dom/plugins/base/nptypes.h
+++ b/dom/plugins/base/nptypes.h
@@ -22,18 +22,6 @@
typedef unsigned int uint32_t;
typedef long long int64_t;
typedef unsigned long long uint64_t;
-#elif defined(_AIX) || defined(__sun) || defined(__osf__) || defined(IRIX) || defined(HPUX)
- /*
- * AIX ships an inttypes.h header that defines [u]int32_t,
- * but not bool for C.
- */
- #include <inttypes.h>
-
- #ifndef __cplusplus
- typedef int bool;
- #define true 1
- #define false 0
- #endif
#elif defined(bsdi) || defined(FREEBSD) || defined(OPENBSD)
/*
* BSD/OS, FreeBSD, and OpenBSD ship sys/types.h that define int32_t and
diff --git a/dom/plugins/base/nsPluginsDirUnix.cpp b/dom/plugins/base/nsPluginsDirUnix.cpp
index 1c7a635d3..2ca703baa 100644
--- a/dom/plugins/base/nsPluginsDirUnix.cpp
+++ b/dom/plugins/base/nsPluginsDirUnix.cpp
@@ -24,9 +24,6 @@
#undef LOCAL_PLUGIN_DLL_SUFFIX
#define LOCAL_PLUGIN_DLL_SUFFIX ".sl"
#define LOCAL_PLUGIN_DLL_ALT_SUFFIX ".so"
-#elif defined(_AIX)
-#define DEFAULT_X11_PATH "/usr/lib"
-#define LOCAL_PLUGIN_DLL_ALT_SUFFIX ".a"
#elif defined(LINUX)
#define DEFAULT_X11_PATH "/usr/X11R6/lib/"
#elif defined(__APPLE__)