Bug 614751 - can't compile nsHapticFeedback.cpp on maemo6 r=blassey.bugs a=npodb

This commit is contained in:
Oleg Romashin 2010-11-29 09:33:34 +02:00
parent 8a52f4b99f
commit 5e5e5dfc40
2 changed files with 3 additions and 1 deletions

View File

@ -64,6 +64,8 @@ endif
ifdef MOZ_PLATFORM_MAEMO
CPPSRCS += nsHapticFeedback.cpp
LOCAL_INCLUDES += $(MOZ_DBUS_CFLAGS) \
$(NULL)
endif
include $(topsrcdir)/config/rules.mk

View File

@ -46,7 +46,7 @@ NS_IMPL_ISUPPORTS1(nsHapticFeedback, nsIHapticFeedback)
NS_IMETHODIMP
nsHapticFeedback::PerformSimpleAction(PRInt32 aType)
{
#ifdef MOZ_PLATFORM_MAEMO
#if (MOZ_PLATFORM_MAEMO == 5)
DBusError err;
dbus_error_init(&err);