Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add platform specific casts #6

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

polachok
Copy link
Contributor

It's unfortunate that setpriority() / getpriority() signatures differ that much across systems :/
Compiles on linux, mac os x and freebsd now.

polachok and others added 2 commits August 29, 2016 16:16
 Turns out they have different definitions on all platforms
@polachok polachok mentioned this pull request Sep 6, 2016
@SirVer
Copy link

SirVer commented Jan 21, 2017

@terminalcloud Please merge this, bump the minor version and rerelease to crates.io!

This is a wonderful clean patch, widely expanding the usefulness of this crate. I just fixed this on my own branch since I am using this on Mac for setting nice levels.

@lovesegfault
Copy link

Please merge this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants