mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-23 20:46:14 +01:00
gmodule: Fix redeclaration of symbol
This should fix the Coverity build, which is currently broken: https://gitlab.gnome.org/GNOME/glib/-/jobs/2389979 ``` ../gmodule/gmodule-deprecated.c:8: error: "GLIB_DISABLE_DEPRECATION_WARNINGS" redefined [-Werror] 8 | #define GLIB_DISABLE_DEPRECATION_WARNINGS | <command-line>: note: this is the location of the previous definition cc1: all warnings being treated as errors ``` Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
This commit is contained in:
parent
96bc6d6e7c
commit
20266f6089
@ -5,7 +5,10 @@
|
|||||||
* to continue using G_MODULE_SUFFIX in the implementation of
|
* to continue using G_MODULE_SUFFIX in the implementation of
|
||||||
* g_module_build_path() which is also deprecated API.
|
* g_module_build_path() which is also deprecated API.
|
||||||
*/
|
*/
|
||||||
|
#ifndef GLIB_DISABLE_DEPRECATION_WARNINGS
|
||||||
#define GLIB_DISABLE_DEPRECATION_WARNINGS
|
#define GLIB_DISABLE_DEPRECATION_WARNINGS
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
|
|
||||||
#if (G_MODULE_IMPL == G_MODULE_IMPL_AR) || (G_MODULE_IMPL == G_MODULE_IMPL_DL)
|
#if (G_MODULE_IMPL == G_MODULE_IMPL_AR) || (G_MODULE_IMPL == G_MODULE_IMPL_DL)
|
||||||
|
Loading…
Reference in New Issue
Block a user