ThreadData* td = new ThreadData (this, func, stacksize);
- if (pbd_realtime_pthread_create (SCHED_FIFO, -22, stacksize,
+ if (pbd_realtime_pthread_create (PBD_SCHED_FIFO, -22, stacksize,
&thread_id, coreaudio_process_thread, td)) {
pthread_attr_init (&attr);
pthread_attr_setstacksize (&attr, stacksize);