mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 03:01:03 +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
|
||||
* do *not* use them in other projects. Instead, use G_DEPRECATED
|
||||
* or define your own wrappers around it. */
|
||||
#ifdef GST_DISABLE_DEPRECATED
|
||||
#ifndef GST_DISABLE_DEPRECATED
|
||||
#define GST_DEPRECATED GST_EXPORT
|
||||
#define GST_DEPRECATED_FOR(f) GST_EXPORT
|
||||
#else
|
||||
|
|
Loading…
Reference in a new issue