[gstreamer-bugs] [Bug 518022] [libgstnet] MSVC 6.0 compile error due to socklen_t

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Sun Apr 13 10:54:02 PDT 2008


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=518022

  GStreamer | gstreamer (core) | Ver: HEAD CVS

Tim-Philipp Müller changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |t.i.m at zen.co.uk
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED
            Summary|libgstnet MSVC 6.0 compile  |[libgstnet] MSVC 6.0 compile
                   |error                       |error due to socklen_t
   Target Milestone|HEAD                        |0.10.20




------- Comment #1 from Tim-Philipp Müller  2008-04-13 17:54 UTC -------
This seems to be the way it's done everywhere [*], so should work fine with
other versions too. If not, I'm sure someone will notice soon enough.

[*] In gnet it's actually defined to gint32, but that was done before 64-bit
systems were common, so I'm not convinced that's right.


 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>

        Patch by: Kwang Yul Seo  <kwangyul.seo gmail com>

        * libs/gst/net/gstnettimepacket.h:
        * docs/libs/gstreamer-libs-sections.txt:
          Define socklen_t as int if it's not defined yet. Fixes compilation
          with MSVC6 and other versions where socklen_t is not defined in
          the windows headers (#518022).


-- 
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=518022.




More information about the Gstreamer-bugs mailing list