From 090e2e64f07a621b2646d0665ad224c98dd96911 Mon Sep 17 00:00:00 2001 From: Stefan Kost Date: Tue, 25 Jul 2006 13:06:14 +0000 Subject: [PATCH] gst/gstinfo.h: Move the Win32 version from gst-plugins-good/gst/avi/avidemux.c to here. Original commit message from CVS: * gst/gstinfo.h: Move the Win32 version from gst-plugins-good/gst/avi/avidemux.c to here. --- ChangeLog | 6 ++++++ gst/gstinfo.h | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/ChangeLog b/ChangeLog index 29b733651b..906e536497 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2006-07-25 Stefan Kost + + * gst/gstinfo.h: + Move the Win32 version from gst-plugins-good/gst/avi/avidemux.c to + here. + 2006-07-24 Tim-Philipp Müller * gst/gsttaglist.c: (_gst_tag_initialize): diff --git a/gst/gstinfo.h b/gst/gstinfo.h index e3c2370200..f733d53271 100644 --- a/gst/gstinfo.h +++ b/gst/gstinfo.h @@ -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