Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 09 May 2008 11:33:22 -0700
From:      Xin LI <delphij@delphij.net>
To:        stevefranks@ieee.org
Cc:        freebsd-hackers <freebsd-hackers@freebsd.org>
Subject:   Re: CLOCK_REALTIME undefined on my system
Message-ID:  <482498F2.8010201@delphij.net>
In-Reply-To: <539c60b90805091117l57ed9966h99d6ae5f45925cdf@mail.gmail.com>
References:  <539c60b90805091117l57ed9966h99d6ae5f45925cdf@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Steve Franks wrote:
| The manpage
(http://www.freebsd.org/cgi/man.cgi?query=clock_gettime&sektion=2&apropos=0&manpath=FreeBSD+7.0-RELEASE)
| for clock_gettime() specifies the correct header as <time.h>, which I
| am using, and I don't see any errors on clock_gettime(), but the param
| I need, listed in the manpage, CLOCK_REALTIME is undefined.  Any ideas
| how this could be?  I've recently cvsup'd standard-supfile, so you'd
| think I'm up to date...
|
| I'm also getting an implicit declaration of isnormal(), and math.h is
| clearly included...

I think with

#define _POSIX_C_SOURCE 199309L

These will be masked...  Could you please try if changing it to 200112
would work?

Cheers,
- --
Xin LI <delphij@delphij.net>	http://www.delphij.net/
FreeBSD - The Power to Serve!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (FreeBSD)

iEYEARECAAYFAkgkmPIACgkQi+vbBBjt66D/bgCfd4jBteEBrPdQT272TcxY0bLF
LwIAoIkcfwxlCBog7+1tyJr84Uns6jbJ
=AS7o
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?482498F2.8010201>