[gstreamer-bugs] [Bug 492388] Build issues on Windows/MSVC

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Thu Nov 1 09:01:00 PDT 2007


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=492388

  GStreamer | gst-plugins-good | Ver: 0.10.6




------- Comment #1 from Ole André Vadla Ravnås  2007-11-01 16:01 UTC -------
Created an attachment (id=98322)
 --> (http://bugzilla.gnome.org/attachment.cgi?id=98322&action=view)
Fixed includes for MSVC.

There's no unistd.h and sys/time.h when building in an MSVC environment, so we
need to check for HAVE_{UNISTD_H,SYS_TIME_H}. Because of this we need to do two
changes:
1. Update configure.ac to check for sys/time.h so that HAVE_SYS_TIME_H gets
defined in config.h for systems that have it.
2. Move the includes from the header file to the C file for each case, as we
shouldn't include "config.h" in the header-files (even if they're not gonna get
installed).


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=492388.




More information about the Gstreamer-bugs mailing list