summaryrefslogtreecommitdiffstats
path: root/txr.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2014-01-09 21:08:11 -0800
committerKaz Kylheku <kaz@kylheku.com>2014-01-09 21:08:11 -0800
commit439bd03e10053c088eac26da28c0a85be0c325a4 (patch)
treebfb2a5bd8e7a74ceb3db4fec8b4378d72aa441f3 /txr.c
parent0b86366870e0a1e45955881a2d3206175061271e (diff)
downloadtxr-439bd03e10053c088eac26da28c0a85be0c325a4.tar.gz
txr-439bd03e10053c088eac26da28c0a85be0c325a4.tar.bz2
txr-439bd03e10053c088eac26da28c0a85be0c325a4.zip
Long overdue MinGW port maintenance.
* Makefile: Use new EXE variable from config.mk. * configure (exe, have_windows_h): New variables. Handle situations with .exe suffix; on MiGW, the rm command doesn't work on executables if the .exe suffix is not given. New tests for localtime_r and gmtime_r. * lib.c: Supply declarations which are missing on MinGW because we use gcc -ansi, because MinGW doesn't follow established conventions like -D_POSIX_SOURCE. Supply definitions for gmtime_r, localtime_r, setenv and unsetenv. * parser.l: Supply declarations which are missing on MinGW. * signal.h (async_sig_enabled): Declare differently based on HAVE_POSIX_SIGS. Misspelled typedef fixed in the code for !HAVE_POSIX_SIGS that has hitherto not been compiled. (sig_mask): Wrap declaration in #ifdef HAVE_POSIX_SIGS because it relies on sigset_t. * stream.c: Supply declarations which are missing on MinGW. Include <windows.h> if we have it. (sleep): Define for Windows. (statf): Handle missing st_blksize and st_blocks members in struct stat. (stream_init): Handle numerous missing S_* macros. * utf8.c: Supply declarations which are missing on MinGW.
Diffstat (limited to 'txr.c')
0 files changed, 0 insertions, 0 deletions