[glib: 1/2] gioenumtypes: Only define GLIB_DISABLE_DEPRECATION_WARNINGS if needed




commit 07c808ad900fcdd69b047c8f09242545f5121597
Author: Marco Trevisan (TreviƱo) <mail 3v1n0 net>
Date:   Wed Sep 7 15:28:54 2022 +0200

    gioenumtypes: Only define GLIB_DISABLE_DEPRECATION_WARNINGS if needed

 gio/gioenumtypes.c.template | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/gio/gioenumtypes.c.template b/gio/gioenumtypes.c.template
index ff9b63b68a..5e119a3428 100644
--- a/gio/gioenumtypes.c.template
+++ b/gio/gioenumtypes.c.template
@@ -20,7 +20,9 @@
  * Authors: Matthias Clasen <mclasen redhat com>
  */
 
+#ifndef GLIB_DISABLE_DEPRECATION_WARNINGS
 #define GLIB_DISABLE_DEPRECATION_WARNINGS
+#endif
 
 #include "config.h"
 #include "gioenumtypes.h"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]