From f2c7e1536b859add1832167731e3a5a46e637071 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim-Philipp=20M=C3=BCller?= Date: Thu, 1 Nov 2007 23:51:55 +0000 Subject: [PATCH] gst/gstinfo.h: Remove __declspec(dllimport) for MSVC that was copied over into core from a plugin, obviously without ... Original commit message from CVS: * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN): Remove __declspec(dllimport) for MSVC that was copied over into core from a plugin, obviously without ever having been tested (note the single underscore in _declspec in the initial commit), and that doesn't really make sense. See #492077. --- ChangeLog | 8 ++++++++ gst/gstinfo.h | 5 ----- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 1be321e..c1007fa 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,13 @@ 2007-11-01 Tim-Philipp Müller + * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN): + Remove __declspec(dllimport) for MSVC that was copied over into core + from a plugin, obviously without ever having been tested (note the + single underscore in _declspec in the initial commit), and that doesn't + really make sense. See #492077. + +2007-11-01 Tim-Philipp Müller + * gst/gst.c: (init_post): * gst/gstevent.c: (_gst_event_initialize): * gst/gstquery.c: (_gst_query_initialize): diff --git a/gst/gstinfo.h b/gst/gstinfo.h index 4e6d6e9..11e2e9e 100644 --- a/gst/gstinfo.h +++ b/gst/gstinfo.h @@ -336,12 +336,7 @@ 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 _MSC_VER #define GST_DEBUG_CATEGORY_EXTERN(cat) extern GstDebugCategory *cat -#else /* _MSC_VER */ -#define GST_DEBUG_CATEGORY_EXTERN(cat) \ - extern __declspec (dllimport) GstDebugCategory *cat; -#endif /** * GST_DEBUG_CATEGORY_STATIC: -- 2.7.4