Skip to content

Comments

A couple of portability fixes#3

Open
pinotree wants to merge 2 commits intomyriadrf:masterfrom
pinotree:portability-fixes
Open

A couple of portability fixes#3
pinotree wants to merge 2 commits intomyriadrf:masterfrom
pinotree:portability-fixes

Conversation

@pinotree
Copy link

@pinotree pinotree commented Apr 9, 2020

They should help to build libusb3380 on more platforms.

Instead of hardcode which OSes use pthreads, use them unconditionally
when the OS/platform is not Windows: it is very likely that any
non-Windows OS is UNIX (or UNIX-alike) with pthreads. (Exceptions can
be always added, of course.)
They are standard GNU libc headers, so include them when the libc is
glibc.
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.

1 participant