From addcdee2d64eaefb6cc3718e95fe287b18919d1e Mon Sep 17 00:00:00 2001 From: David Schleef Date: Fri, 16 Apr 2004 00:32:27 +0000 Subject: [PATCH] gst/gstplugin.c: Disable more stuff on Original commit message from CVS: * gst/gstplugin.c: (_gst_plugin_fault_handler_restore), (_gst_plugin_fault_handler_setup): Disable more stuff on Windows. --- ChangeLog | 6 ++++++ gst/gstplugin.c | 15 +++++++++++++++ 2 files changed, 21 insertions(+) diff --git a/ChangeLog b/ChangeLog index d870a55..497afe3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2004-04-15 David Schleef + * gst/gstplugin.c: (_gst_plugin_fault_handler_restore), + (_gst_plugin_fault_handler_setup): Disable more stuff on + Windows. + +2004-04-15 David Schleef + * gst/gstinfo.c: (_gst_debug_init): Change some internal symbol names to not conflict with new gstinfo.h symbols. * gst/gstinfo.h: Add inline functions for all those crazy diff --git a/gst/gstplugin.c b/gst/gstplugin.c index aca9718..d89a762 100644 --- a/gst/gstplugin.c +++ b/gst/gstplugin.c @@ -44,7 +44,10 @@ static GList *_gst_plugin_static = NULL; /* static variables for segfault handling of plugin loading */ static char *_gst_plugin_fault_handler_filename = NULL; extern gboolean *_gst_disable_segtrap; /* see gst.c */ + +#ifndef HAVE_WIN32 static gboolean *_gst_plugin_fault_handler_is_setup = FALSE; +#endif /* list of valid licenses. * One of these must be specified or the plugin won't be loaded @@ -210,6 +213,7 @@ gst_plugin_register_func (GstPlugin * plugin, GModule * module, return plugin; } +#ifndef HAVE_WIN32 /* * _gst_plugin_fault_handler_restore: * segfault handler restorer @@ -272,6 +276,17 @@ _gst_plugin_fault_handler_setup (void) sigaction (SIGSEGV, &action, NULL); } +#else +static void +_gst_plugin_fault_handler_restore (void) +{ +} + +static void +_gst_plugin_fault_handler_setup (void) +{ +} +#endif static void _gst_plugin_fault_handler_setup (); -- 2.7.4