diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2014-01-10 19:53:11 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2014-01-10 19:53:11 -0800 |
commit | f4bd17eab2667962090fc8a918b553badad671bc (patch) | |
tree | e1d9568e3ca63300474c7b2789fb0ec4d3089f80 /parser.h | |
parent | af2af7a4ed4321f955251f9da13a161a1e8940b3 (diff) | |
download | txr-f4bd17eab2667962090fc8a918b553badad671bc.tar.gz txr-f4bd17eab2667962090fc8a918b553badad671bc.tar.bz2 txr-f4bd17eab2667962090fc8a918b553badad671bc.zip |
* configure (lang_flags): Let us switch from using _XOPEN_SOURCE=2
to _POSIX_C_SOURCE=199309L and _BSD_SOURCE.
In the .exe suffix test, try harder to redirect ls's output.
Test for fork stuff now needs <sys/types.h> evidently;
<unistd.h> does not necessarily pid_t, even though it defines
functions that return and accept pid_t!
The timegm test no longer needs _SVID_SOURCE since _BSD_SOURCE
covers it, and so we end up not using _SVID_SOURCE any more.
New tests for usleep and nanosleep.
The test for setenv is not conditional on timegm failing.
* eval.c: Include <time.h> and conditionally <windows.h>.
(usleep_wrap): New function.
(eval_init): New usleep_wrap function registered as usleep intrinsic.
* lib.c: Only define setenv and unsetenv if we don't have timegm,
because only in that situation they are used.
Diffstat (limited to 'parser.h')
0 files changed, 0 insertions, 0 deletions