Skip to content
This repository has been archived by the owner on May 27, 2020. It is now read-only.

FreeBSD improvement and compile warning fixes #723

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cross
Copy link

@cross cross commented Jul 3, 2017

  • FreeBSD 11.1 added clock_nanosleep, which is why the CLOCK_MONOTONIC block didn't previously work for FreeBSD. Retune autoconf to look for that call specifically, rather than specifying operating systems manually in util.c
  • Include pthread_np.h on FreeBSD and OpenBSD, as that's where the pthread_set_name_np() call for them is defined.
  • Remove --libs from the libusb pkg-config call to avoid link arguments getting into compile arguments.
  • Fix an error checking for a NULL in an array address, eliminate compile warning.

…o use

the clock_nanosleep() that is written/maintained for Linux.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant