src/SDL_fatal.c
changeset 3162 dc1eb82ffdaa
parent 2984 0b160c970b7e
child 3644 09ce26cedfd2
equal deleted inserted replaced
3161:494559cc723b 3162:dc1eb82ffdaa
    41     signal(sig, SIG_DFL);
    41     signal(sig, SIG_DFL);
    42     SDL_Quit();
    42     SDL_Quit();
    43     raise(sig);
    43     raise(sig);
    44 }
    44 }
    45 
    45 
    46 static int SDL_fatal_signals[] = {
    46 static const int SDL_fatal_signals[] = {
    47     SIGSEGV,
    47     SIGSEGV,
    48 #ifdef SIGBUS
    48 #ifdef SIGBUS
    49     SIGBUS,
    49     SIGBUS,
    50 #endif
    50 #endif
    51 #ifdef SIGFPE
    51 #ifdef SIGFPE