2014-11-24 20:55:49 +00:00
|
|
|
/*
|
|
|
|
htop - UnsupportedCRT.c
|
|
|
|
(C) 2014 Hisham H. Muhammad
|
|
|
|
Released under the GNU GPL, see the COPYING file
|
|
|
|
in the source distribution for its full text.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "config.h"
|
|
|
|
#include "CRT.h"
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <stdlib.h>
|
|
|
|
|
|
|
|
void CRT_handleSIGSEGV(int sgn) {
|
|
|
|
(void) sgn;
|
|
|
|
CRT_done();
|
|
|
|
fprintf(stderr, "\n\nhtop " VERSION " aborting.\n");
|
|
|
|
fprintf(stderr, "\nUnfortunately, you seem to be using an unsupported platform!");
|
2016-01-02 17:11:26 +00:00
|
|
|
fprintf(stderr, "\nPlease contact your platform package maintainer!\n\n");
|
2014-11-24 20:55:49 +00:00
|
|
|
abort();
|
|
|
|
}
|
|
|
|
|