summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 99a41ce)
raw | patch | inline | side by side (parent: 99a41ce)
author | Tim-Philipp Müller <tim@centricular.net> | |
Thu, 1 Nov 2007 23:51:55 +0000 (23:51 +0000) | ||
committer | Tim-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.
* 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 | patch | blob | history | |
gst/gstinfo.h | patch | blob | history |
diff --git a/ChangeLog b/ChangeLog
index 1be321e3151c25a8bc3de76fadaf41b05984e995..c1007fad7f47cf55fa45ab277420768fdfcc6579 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
+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):
diff --git a/gst/gstinfo.h b/gst/gstinfo.h
index 4e6d6e93d396b9f641047b0600ae2ddc75171d9b..11e2e9e6cd7c40575430cf2d42e1db0c221d0910 100644 (file)
--- a/gst/gstinfo.h
+++ b/gst/gstinfo.h
* 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: