the linux implementation should work for freebsd and netbsd x86. change the name from linux to unixish to reflect this.

This commit is contained in:
toshok%hungry.com 1999-04-15 00:50:07 +00:00
parent 93d7566fb4
commit cce073811f
6 changed files with 10 additions and 10 deletions

View File

@ -35,11 +35,11 @@ CPPSRCS = \
xptcstubs_unsupported.cpp \
$(NULL)
ifeq ($(OS_ARCH),Linux)
ifneq (,$(filter Linux FreeBSD NetBSD,$(OS_ARCH)))
ifeq (86,$(findstring 86,$(OS_TEST)))
CPPSRCS = \
xptcinvoke_linux_x86.cpp \
xptcstubs_linux_x86.cpp \
xptcinvoke_unixish_x86.cpp \
xptcstubs_unixish_x86.cpp \
$(NULL)
endif
endif

View File

@ -22,7 +22,7 @@
// Remember that these 'words' are 32bit DWORDS
#if defined(LINUX)
#if defined(LINUX) || defined(__FreeBSD__) || defined(__NetBSD__)
static PRUint32
invoke_count_words(PRUint32 paramCount, nsXPTCVariant* s)

View File

@ -20,7 +20,7 @@
#include "xptcprivate.h"
#if defined(LINUX)
#if defined(LINUX) || defined(__FreeBSD__) || defined(__NetBSD__)
static nsresult
PrepareAndDispatch(nsXPTCStubBase* self, uint32 methodIndex, uint32* args)

View File

@ -35,11 +35,11 @@ CPPSRCS = \
xptcstubs_unsupported.cpp \
$(NULL)
ifeq ($(OS_ARCH),Linux)
ifneq (,$(filter Linux FreeBSD NetBSD,$(OS_ARCH)))
ifeq (86,$(findstring 86,$(OS_TEST)))
CPPSRCS = \
xptcinvoke_linux_x86.cpp \
xptcstubs_linux_x86.cpp \
xptcinvoke_unixish_x86.cpp \
xptcstubs_unixish_x86.cpp \
$(NULL)
endif
endif

View File

@ -22,7 +22,7 @@
// Remember that these 'words' are 32bit DWORDS
#if defined(LINUX)
#if defined(LINUX) || defined(__FreeBSD__) || defined(__NetBSD__)
static PRUint32
invoke_count_words(PRUint32 paramCount, nsXPTCVariant* s)

View File

@ -20,7 +20,7 @@
#include "xptcprivate.h"
#if defined(LINUX)
#if defined(LINUX) || defined(__FreeBSD__) || defined(__NetBSD__)
static nsresult
PrepareAndDispatch(nsXPTCStubBase* self, uint32 methodIndex, uint32* args)