Skip to content

Add platform specific casts - #6

Open
polachok wants to merge 3 commits into
terminalcloud:masterfrom
polachok:portability
Open

Add platform specific casts#6
polachok wants to merge 3 commits into
terminalcloud:masterfrom
polachok:portability

Conversation

@polachok

Copy link
Copy Markdown
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

SirVer commented Jan 21, 2017

Copy link
Copy Markdown

@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
Copy Markdown

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