mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 05:41:12 +00:00
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:
parent
93d7566fb4
commit
cce073811f
@ -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
|
||||
|
@ -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)
|
@ -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)
|
@ -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
|
||||
|
@ -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)
|
@ -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)
|
Loading…
Reference in New Issue
Block a user