Detection of clock_nanosleep()

Petr Kulhavy <[email protected]> Mon, 22 May 2017 11:09:47 +0200
Newsgroups gmane.comp.lib.uclibc.general
Message-ID <[email protected]>
Hello,

I'm trying to compile a project using clock_nanosleep() with uclibc.
What is a reliable way to detect whether clock_nanosleep() is present?

Thanks
Petr