projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c106683
)
gstconfig.h: want deprecation warnings if GST_DISABLE_DEPRECATED is *set*
author
Tim-Philipp Müller
<tim@centricular.com>
Thu, 15 Feb 2018 12:09:31 +0000
(12:09 +0000)
committer
Tim-Philipp Müller
<tim@centricular.com>
Thu, 15 Feb 2018 12:11:41 +0000
(12:11 +0000)
Fix inverted logic. If GST_DISABLE_DEPRECATED is undefined,
we don't want warnings about deprecated API, and if it's
defined we do want warnings.
gst/gstconfig.h.in
patch
|
blob
|
history
diff --git
a/gst/gstconfig.h.in
b/gst/gstconfig.h.in
index 943b9171a4898f3668525fd17ba55dc071a810d5..0192228168d813a6be6c0f77a4f52a3e7fb24ef8 100644
(file)
--- a/
gst/gstconfig.h.in
+++ b/
gst/gstconfig.h.in
@@
-159,7
+159,7
@@
* and thus have to be exposed in installed headers. But please
* do *not* use them in other projects. Instead, use G_DEPRECATED
* or define your own wrappers around it. */
-#ifdef GST_DISABLE_DEPRECATED
+#if
n
def GST_DISABLE_DEPRECATED
#define GST_DEPRECATED GST_EXPORT
#define GST_DEPRECATED_FOR(f) GST_EXPORT
#else