mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 06:58:56 +00:00
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.
This commit is contained in:
parent
99a41cefe3
commit
f2c7e1536b
2 changed files with 8 additions and 5 deletions
|
@ -1,3 +1,11 @@
|
|||
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):
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue