diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2017-06-06 06:57:21 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2017-06-06 06:57:21 -0700 |
commit | ca0e0e2abfbc4f9a04e37cec5de59a4acd8dde35 (patch) | |
tree | 7cdfca3bb6f3e76bc7a51ef45c3a09e251ce477d /configure | |
parent | 7f35218581067e5b3449258326a54235d6e10bbc (diff) | |
download | txr-ca0e0e2abfbc4f9a04e37cec5de59a4acd8dde35.tar.gz txr-ca0e0e2abfbc4f9a04e37cec5de59a4acd8dde35.tar.bz2 txr-ca0e0e2abfbc4f9a04e37cec5de59a4acd8dde35.zip |
configure: detect clockid_t properly.
* configure: test for clockid_t type refers to
CLOCK_REALTIME macro also, which comes from <time.h>.
But that header isn't included. Since we only care
about whether or not we have the type, for the sake of
defining it in FFI, and don't use the CLOCK_REALTIME
macro anywhere, let's replace it with a 0 constant.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2868,7 +2868,7 @@ cat > conftest.c <<! int main(void) { - clockid_t cid = CLOCK_REALTIME; + clockid_t cid = 0; return 0; } ! |