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 | 97dc422489a3621c6c68b43f1a98f5df947d84d8 (patch) | |
tree | 7cdfca3bb6f3e76bc7a51ef45c3a09e251ce477d | |
parent | 14c685074ccfa74118d2d8369c01711dcaaf99b5 (diff) | |
download | txr-97dc422489a3621c6c68b43f1a98f5df947d84d8.tar.gz txr-97dc422489a3621c6c68b43f1a98f5df947d84d8.tar.bz2 txr-97dc422489a3621c6c68b43f1a98f5df947d84d8.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.
-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; } ! |