Fixing up spatialnavigation to work in a static build. not part of normal build.

This commit is contained in:
dougt%meer.net 2005-05-25 15:47:35 +00:00
Родитель 5721a53440
Коммит cd68df9073
3 изменённых файлов: 5 добавлений и 4 удалений

Просмотреть файл

@ -42,7 +42,11 @@ VPATH=@srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = snav
MODULE_NAME = snav
LIBRARY_NAME = snav
EXPORT_LIBRARY = 1
MOZILLA_INTERNAL_API = 1
IS_COMPONENT = 1
REQUIRES = xpcom \
@ -70,8 +74,6 @@ CPPSRCS= \
nsSpatialNavigationService.cpp \
$(NULL)
DEFINES = -DMOZILLA_INTERNAL_API
EXTRA_DSO_LIBS = gkgfx
EXTRA_DSO_LDOPTS += $(LIBS_DIR) \

Просмотреть файл

@ -205,7 +205,6 @@ enum {
// Utils
PRBool is_space (char c);
nscoord* lo_parse_coord_list (char *str, PRInt32* value_cnt);
nsresult createFrameTraversal (PRUint32 type, nsPresContext* presContext, nsIBidirectionalEnumerator** outTraversal);
nsresult getEventTargetFromWindow (nsIDOMWindow* aWindow, nsIDOM3EventTarget** aEventTarget, nsIDOMEventGroup** aSystemGroup);

Просмотреть файл

@ -40,7 +40,7 @@
#include "nsIFrameDebug.h"
#endif
PRBool is_space(char c)
static PRBool is_space(char c)
{
return (c == ' ' || c == '\f' || c == '\n' ||
c == '\r' || c == '\t' || c == '\v');