Changeset 2 for pjproject/main/pjlib/src/pjlib-test/main.c
- Timestamp:
- Nov 1, 2005 4:42:51 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/main/pjlib/src/pjlib-test/main.c
r1 r2 36 36 #endif 37 37 38 #if defined(PJ_SUNOS) && PJ_SUNOS!=0 39 #include <signal.h> 40 static void init_signals() 41 { 42 struct sigaction act; 43 44 memset(&act, 0, sizeof(act)); 45 act.sa_handler = SIG_IGN; 46 47 sigaction(SIGALRM, &act, NULL); 48 } 49 50 #else 51 #define init_signals() 52 #endif 53 38 54 int main(int argc, char *argv[]) 39 55 { … … 41 57 42 58 boost(); 59 init_signals(); 43 60 44 61 while (argc > 1) {
Note: See TracChangeset
for help on using the changeset viewer.