gst/gstinfo.h: Move the Win32 version from gst-plugins-good/gst/avi/avidemux.c to...
authorStefan Kost <ensonic@users.sourceforge.net>
Tue, 25 Jul 2006 13:06:14 +0000 (13:06 +0000)
committerStefan Kost <ensonic@users.sourceforge.net>
Tue, 25 Jul 2006 13:06:14 +0000 (13:06 +0000)
Original commit message from CVS:
* gst/gstinfo.h:
Move the Win32 version from gst-plugins-good/gst/avi/avidemux.c to
here.

ChangeLog
gst/gstinfo.h

index 29b7336..906e536 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2006-07-25  Stefan Kost  <ensonic@users.sf.net>
+
+       * gst/gstinfo.h:
+         Move the Win32 version from gst-plugins-good/gst/avi/avidemux.c to
+         here.
+
 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
 
        * gst/gsttaglist.c: (_gst_tag_initialize):
index e3c2370..f733d53 100644 (file)
@@ -305,7 +305,13 @@ void               gst_debug_unset_threshold_for_name (const gchar *       name);
  * Declares a GstDebugCategory variable as extern. Use in header files.
  * This macro expands to nothing if debugging is disabled.
  */
+#ifndef WIN32
 #define GST_DEBUG_CATEGORY_EXTERN(cat) extern GstDebugCategory *cat
+#else
+#define GST_DEBUG_CATEGORY_EXTERN(cat) \
+  extern _declspec (dllimport) GstDebugCategory *cat;
+#endif
+
 /**
  * GST_DEBUG_CATEGORY_STATIC:
  * @cat: the category