summaryrefslogtreecommitdiff
path: root/extensions/source/nsplugin/source/npshell.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/source/nsplugin/source/npshell.cxx')
-rw-r--r--extensions/source/nsplugin/source/npshell.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/extensions/source/nsplugin/source/npshell.cxx b/extensions/source/nsplugin/source/npshell.cxx
index b1d3e199a975..dc0737806916 100644
--- a/extensions/source/nsplugin/source/npshell.cxx
+++ b/extensions/source/nsplugin/source/npshell.cxx
@@ -123,10 +123,11 @@ long int NSP_WriteToPipe(NSP_PIPE_FD fp, void* buf, unsigned long int len)
static pid_t nChildPID = 0;
#endif
+#if defined WNT
+
#define MY_LENGTH(s) (sizeof (s) / sizeof *(s) - 1)
#define MY_STRING(s) (s), MY_LENGTH(s)
-#if defined WNT
namespace {
bool extendEnvironment(boost::scoped_array< WCHAR > * environment) {