[gstreamer-bugs] [Bug 597539] New: [gststrpconnection.c] 'close' is not defined in Microsoft's CRT

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Oct 6 04:58:23 PDT 2009


https://bugzilla.gnome.org/show_bug.cgi?id=597539
  GStreamer | gst-plugins-good | 0.10.25

           Summary: [gststrpconnection.c] 'close' is not defined in
                    Microsoft's CRT
    Classification: Desktop
           Product: GStreamer
           Version: 0.10.25
        OS/Version: Windows
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: ylatuya at gmail.com
         QAContact: gstreamer-bugs at lists.sourceforge.net
      GNOME target: ---
     GNOME version: ---


Fixed using _close:

#ifndef WINVER
#define WINVER 0x0501
#endif
+#ifdef _MSC_VER
+       #include <io.h>
+    #define close _close
+#endif
#include <winsock2.h>
#include <ws2tcpip.h>

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.




More information about the Gstreamer-bugs mailing list