Mercurial > octave-nkf
comparison libcruft/misc/quit.h @ 5451:ed08548b9054
[project @ 2005-09-15 19:52:50 by jwe]
author | jwe |
---|---|
date | Thu, 15 Sep 2005 19:52:50 +0000 |
parents | 4c8a2e4e0717 |
children | 8d7162924bd3 |
comparison
equal
deleted
inserted
replaced
5450:6b42c78c77d3 | 5451:ed08548b9054 |
---|---|
31 | 31 |
32 #include <stdio.h> | 32 #include <stdio.h> |
33 | 33 |
34 #include <signal.h> | 34 #include <signal.h> |
35 #include <setjmp.h> | 35 #include <setjmp.h> |
36 | |
37 #if defined (__WIN32__) && ! defined (_POSIX_VERSION) | |
38 | |
39 #include <windows.h> | |
40 | |
41 extern void w32_sigint_init (void); /* setup */ | |
42 extern void w32_raise_final (void); /* tear down */ | |
43 extern void w32_raise (int sig); /* raise signal in main thread */ | |
44 extern int w32_in_main_thread (void); /* return true if in main thread */ | |
45 | |
46 #endif | |
36 | 47 |
37 #if defined (OCTAVE_HAVE_SIG_JUMP) | 48 #if defined (OCTAVE_HAVE_SIG_JUMP) |
38 | 49 |
39 typedef sigjmp_buf octave_jmp_buf; | 50 typedef sigjmp_buf octave_jmp_buf; |
40 | 51 |