diff options
author | Daniel Atallah <datallah@pidgin.im> | 2007-02-19 16:08:43 +0000 |
---|---|---|
committer | Daniel Atallah <datallah@pidgin.im> | 2007-02-19 16:08:43 +0000 |
commit | e3aefefbd74c7ddd442d17509356a6470f282155 (patch) | |
tree | 73ce1376d9d8fb6ec55d57d8efcacfe4fdd360c6 /libpurple | |
parent | 1ac8123791487a80a266efceb2d2e00aff72613a (diff) | |
download | pidgin-e3aefefbd74c7ddd442d17509356a6470f282155.tar.gz |
Merge fix and build fix for win32
Diffstat (limited to 'libpurple')
-rw-r--r-- | libpurple/util.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libpurple/util.c b/libpurple/util.c index bea8cbacc6..0e6e81ec76 100644 --- a/libpurple/util.c +++ b/libpurple/util.c @@ -4117,6 +4117,7 @@ const char *_gaim_oscar_convert(const char *act, const char *protocol) void gaim_restore_default_signal_handlers(void) { +#ifndef _WIN32 #ifdef HAVE_SIGNAL_H signal(SIGHUP, SIG_DFL); /* 1: terminal line hangup */ signal(SIGINT, SIG_DFL); /* 2: interrupt program */ @@ -4133,7 +4134,6 @@ void gaim_restore_default_signal_handlers(void) signal(SIGEMT, SIG_DFL); /* 7: EMT instruction (Non-POSIX) */ #endif /* SIGEMT */ -#endif signal(SIGFPE, SIG_DFL); /* 8: floating point exception */ signal(SIGBUS, SIG_DFL); /* 10: bus error */ signal(SIGSEGV, SIG_DFL); /* 11: segmentation violation */ @@ -4145,4 +4145,5 @@ void gaim_restore_default_signal_handlers(void) signal(SIGXCPU, SIG_DFL); /* 24: exceeded CPU time limit */ signal(SIGXFSZ, SIG_DFL); /* 25: exceeded file size limit */ #endif /* HAVE_SIGNAL_H */ +#endif /* !_WIN32 */ } |