OS/X Patch from Torsten Spindler
[melted] / src / albino / albino.c
index 9a65e29..60667f3 100644 (file)
@@ -64,7 +64,9 @@ int main( int argc, char **argv  )
                // Use realtime scheduling if possible
                memset( &scp, '\0', sizeof( scp ) );
                scp.sched_priority = sched_get_priority_max( SCHED_FIFO ) - 1;
+#ifndef DARWIN
                sched_setscheduler( 0, SCHED_FIFO, &scp );
+#endif
 
                printf( "Miracle Standalone Instance\n" );
                parser = miracle_parser_init_local( );