Skip to content
This repository has been archived by the owner on Jun 16, 2018. It is now read-only.

CLK_TCK backwards compatibility revisit #6

Open
DavidGriffith opened this issue Apr 28, 2017 · 0 comments
Open

CLK_TCK backwards compatibility revisit #6

DavidGriffith opened this issue Apr 28, 2017 · 0 comments

Comments

@DavidGriffith
Copy link
Owner

DavidGriffith commented Apr 28, 2017

The file xv-20091215-werner-fink-multiple-fixes.patch.mime addressed, among other things, switching away from using CLK_TCK to sysconf(_SC_CLK_TCK).

The patch number four uses the correct tick definition of the system instead of a hard defined value. In fact CLK_TCK isn't defined anymore on newer Linux systems as it now becomes variable at boot time.

Later on, I want to have the Makefile (or Autoconf) check to see if we should use sysconf(_SC_CLK_TCK) and if not, use the constant CLK_TCK.

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

No branches or pull requests

1 participant