X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/be11d578d1cc99aab3b49517d5f89ae029cfba6c..7af284fda7500594b2ab86c8ba60138164ab4d04:/src/mac/morefile/mfsearch.cpp 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); }