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.
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):
* 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: