From eb6d97c8d630a56e7acdd585b01fb02428a68bce Mon Sep 17 00:00:00 2001 From: "dinglis%qnx.com" Date: Fri, 2 Nov 2001 19:12:36 +0000 Subject: [PATCH] Not part of build fixed lib deps. change repeating precise timers to repeating slack for debug builds - make debuging easier git-svn-id: svn://10.0.0.236/trunk@107114 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/widget/timer/src/unix/photon/Makefile.in | 2 +- mozilla/widget/timer/src/unix/photon/nsTimerPh.cpp | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/mozilla/widget/timer/src/unix/photon/Makefile.in b/mozilla/widget/timer/src/unix/photon/Makefile.in index da4512ef363..581656455ac 100644 --- a/mozilla/widget/timer/src/unix/photon/Makefile.in +++ b/mozilla/widget/timer/src/unix/photon/Makefile.in @@ -39,7 +39,7 @@ IS_COMPONENT = 1 EXPORT_LIBRARY = 1 MODULE_NAME = nsPhTimerModule CPPSRCS += nsTimerPhFactory.cpp -EXTRA_DSO_LDOPTS = $(MOZ_COMPONENT_LIBS) +EXTRA_DSO_LDOPTS = $(MOZ_COMPONENT_LIBS) $(TOOLKIT_DSO_LDOPTS) $(TK_LIBS) $(NULL) include $(topsrcdir)/config/rules.mk diff --git a/mozilla/widget/timer/src/unix/photon/nsTimerPh.cpp b/mozilla/widget/timer/src/unix/photon/nsTimerPh.cpp index 1666ae260c4..b7cb2eb2d68 100644 --- a/mozilla/widget/timer/src/unix/photon/nsTimerPh.cpp +++ b/mozilla/widget/timer/src/unix/photon/nsTimerPh.cpp @@ -306,6 +306,10 @@ NS_METHOD nsTimerPh::SetupTimer() return NS_ERROR_FAILURE; } } +#ifdef DEBUG + if (mType == NS_TYPE_REPEATING_PRECISE) + mType = NS_TYPE_REPEATING_SLACK; +#endif switch(mType) {