gst/gstplugin.c: Disable more stuff on
authorDavid Schleef <ds@schleef.org>
Fri, 16 Apr 2004 00:32:27 +0000 (00:32 +0000)
committerDavid Schleef <ds@schleef.org>
Fri, 16 Apr 2004 00:32:27 +0000 (00:32 +0000)
Original commit message from CVS:
* gst/gstplugin.c: (_gst_plugin_fault_handler_restore),
(_gst_plugin_fault_handler_setup):  Disable more stuff on
Windows.

ChangeLog
gst/gstplugin.c

index d870a55..497afe3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2004-04-15  David Schleef  <ds@schleef.org>
 
+       * gst/gstplugin.c: (_gst_plugin_fault_handler_restore),
+       (_gst_plugin_fault_handler_setup):  Disable more stuff on
+       Windows.
+
+2004-04-15  David Schleef  <ds@schleef.org>
+
        * 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
index aca9718..d89a762 100644 (file)
@@ -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 ();