gst/gstinfo.h: Remove __declspec(dllimport) for MSVC that was copied over into core...
authorTim-Philipp Müller <tim@centricular.net>
Thu, 1 Nov 2007 23:51:55 +0000 (23:51 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Thu, 1 Nov 2007 23:51:55 +0000 (23:51 +0000)
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
gst/gstinfo.h

index 1be321e..c1007fa 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
 
+       * 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  <tim at centricular dot net>
+
        * gst/gst.c: (init_post):
        * gst/gstevent.c: (_gst_event_initialize):
        * gst/gstquery.c: (_gst_query_initialize):
index 4e6d6e9..11e2e9e 100644 (file)
@@ -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: