```d
version( Android ) {}
else
    int pthread_setschedprio(pthread_t, int);
```
looks ok. not perfect, but acceptable imho ;-)