changeset 15665:95c4dee525f0

Merge fix and build fix for win32
author Daniel Atallah <daniel.atallah@gmail.com>
date Mon, 19 Feb 2007 16:08:43 +0000
parents b5c5fbe365d2
children 6eda87b08cdf
files libpurple/util.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/util.c	Mon Feb 19 15:31:32 2007 +0000
+++ b/libpurple/util.c	Mon Feb 19 16:08:43 2007 +0000
@@ -4117,6 +4117,7 @@
 
 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 @@
 	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 @@
 	signal(SIGXCPU, SIG_DFL);	/* 24: exceeded CPU time limit */
 	signal(SIGXFSZ, SIG_DFL);	/* 25: exceeded file size limit */	
 #endif /* HAVE_SIGNAL_H */
+#endif /* !_WIN32 */
 }