Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c5b13899 authored by Dianne Hackborn's avatar Dianne Hackborn
Browse files

Hopefully fix Windows build

parent 426ab667
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -309,11 +309,13 @@ int androidSetThreadPriority(pid_t tid, int pri)
        lasterr = errno;
    }

#if defined(HAVE_PTHREADS)
    if (setpriority(PRIO_PROCESS, tid, pri) < 0) {
        rc = INVALID_OPERATION;
    } else {
        errno = lasterr;
    }
#endif
    
    return rc;
}