From 69db49223e8373a666d463464b142692b4b14294 Mon Sep 17 00:00:00 2001 From: Gilles Depeyrot Date: Thu, 10 May 2001 20:54:41 +0000 Subject: [PATCH] conditional compilation for Universal Interfaces (3.4 or later) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/mac/morefile/mfsearch.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/mac/morefile/mfsearch.cpp b/src/mac/morefile/mfsearch.cpp index 8bdba2716b..6aed9b934d 100644 --- a/src/mac/morefile/mfsearch.cpp +++ b/src/mac/morefile/mfsearch.cpp @@ -791,7 +791,11 @@ pascal OSErr IndexedSearch(CSParamPtr pb, if ( pb->ioSearchTime != 0 ) { /* Start timer */ +#if defined(UNIVERSAL_INTERFACES_VERSION) && (UNIVERSAL_INTERFACES_VERSION >= 0x0340) + timerTask.theTask.tmAddr = NewTimerUPP(TimeOutTask); +#else timerTask.theTask.tmAddr = NewTimerProc(TimeOutTask); +#endif InsTime((QElemPtr)&(timerTask.theTask)); PrimeTime((QElemPtr)&(timerTask.theTask), pb->ioSearchTime); } -- 2.47.2