After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 604007 - [gstpluginloader] fails to compile with mingw32
[gstpluginloader] fails to compile with mingw32
Status: RESOLVED INCOMPLETE
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other Windows
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-12-07 17:39 UTC by Julien Isorce
Modified: 2009-12-07 21:18 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Julien Isorce 2009-12-07 17:39:03 UTC
If the problem is not known:

First glib needs to be included before to check G_OS_WIN32:
--- a/gst/gstpluginloader.c
+++ b/gst/gstpluginloader.c
@@ -24,6 +24,8 @@
 #  include "config.h"
 #endif

+#include <glib.h>
+
 #ifndef G_OS_WIN32
 #include <sys/types.h>
 #include <sys/wait.h>

Then there is no native fsync on win32.
Comment 1 Tim-Philipp Müller 2009-12-07 17:54:15 UTC
Julien: I think you can just commit trivial stuff like this as longs as the module isn't frozen (as per IRC topic).

There's also bug #597662 for the registry changes + win32.
Comment 2 Julien Isorce 2009-12-07 21:18:57 UTC
ok.
I'll try the patch.