mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 11:11:08 +00:00
gstconfig.h: want deprecation warnings if GST_DISABLE_DEPRECATED is *set*
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.
This commit is contained in:
parent
c10668374d
commit
ea402c7034
1 changed files with 1 additions and 1 deletions
|
@ -159,7 +159,7 @@
|
||||||
* and thus have to be exposed in installed headers. But please
|
* and thus have to be exposed in installed headers. But please
|
||||||
* do *not* use them in other projects. Instead, use G_DEPRECATED
|
* do *not* use them in other projects. Instead, use G_DEPRECATED
|
||||||
* or define your own wrappers around it. */
|
* or define your own wrappers around it. */
|
||||||
#ifdef GST_DISABLE_DEPRECATED
|
#ifndef GST_DISABLE_DEPRECATED
|
||||||
#define GST_DEPRECATED GST_EXPORT
|
#define GST_DEPRECATED GST_EXPORT
|
||||||
#define GST_DEPRECATED_FOR(f) GST_EXPORT
|
#define GST_DEPRECATED_FOR(f) GST_EXPORT
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Reference in a new issue