#include <sys/time.h>
#endif
-/* The ubiquitous min/max macros. */
-
-#define max(X, Y) ((X) > (Y) ? (X) : (Y))
-#define min(X, Y) ((X) < (Y) ? (X) : (Y))
-
/* Free-list of atimer structures. */
static struct atimer *free_atimers;
int pending_atimers;
-/* Block/unblock SIGALRM.. */
+/* Block/unblock SIGALRM. */
#define BLOCK_ATIMERS sigblock (sigmask (SIGALRM))
#define UNBLOCK_ATIMERS sigunblock (sigmask (SIGALRM))
EMACS_GET_TIME (now);
}
-#if defined (USG) && !defined (POSIX_SIGNALS)
- /* USG systems forget handlers when they are used;
- must reestablish each time. */
- signal (SIGALRM, alarm_signal_handler);
-#endif /* USG */
-
set_alarm ();
}