Link to ArchLinux package
This commit is contained in:
parent
3800d9513a
commit
94d9eb7dac
|
|
@ -268,13 +268,16 @@ int main (int argc, char** argv) {
|
|||
start_time = time(NULL);
|
||||
srand((unsigned int) start_time);
|
||||
|
||||
/* Signal handling */
|
||||
/* Signal handling for Ctl-C; not needed for MinGW, where
|
||||
* Ctl-C while reading from STDIN has the same effect as
|
||||
* Ctl-D apparently.*/
|
||||
|
||||
#if !__MINGW32__
|
||||
if (signal(SIGINT, signalhandler) == SIG_ERR) {
|
||||
fprintf(stderr, "Failed to set up signal handler for SIGINT\n");
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef CGI
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue