portability simplification with scmsigs.c and alarm
authorAndy Wingo <wingo@pobox.com>
Sat, 9 Mar 2013 21:25:35 +0000 (22:25 +0100)
committerAndy Wingo <wingo@pobox.com>
Sat, 9 Mar 2013 21:25:35 +0000 (22:25 +0100)
commitcdd125e8d475a6d02606322fb4c54dc76bbc8072
tree5cfff088d25214541c6b63c159551fd14683307d
parent4fd38267bca2987c6340c019a498ea6bacc6c5ec
portability simplification with scmsigs.c and alarm

* configure.ac (alarm): Check for decl.
* libguile/scmsigs.c: Reorder includes to put system includes first.
  Fixes include order on mingw.  Remove #define for alarm, as we will
  use HAVE_DECL_ALARM.  Remove #defines for sleep and usleep, as they
  are not used.
  (scm_alarm): Only define if HAVE_DECL_ALARM.
configure.ac
libguile/scmsigs.c