mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-08 05:28:07 +02:00
nm-glib: backport g_info() macro
This commit is contained in:
parent
22b3494de6
commit
17779975c8
1 changed files with 7 additions and 0 deletions
|
|
@ -367,4 +367,11 @@ _nm_g_hash_table_get_keys_as_array (GHashTable *hash_table,
|
|||
})
|
||||
#endif
|
||||
|
||||
#ifndef g_info
|
||||
/* g_info was only added with 2.39.2 */
|
||||
#define g_info(...) g_log (G_LOG_DOMAIN, \
|
||||
G_LOG_LEVEL_INFO, \
|
||||
__VA_ARGS__)
|
||||
#endif
|
||||
|
||||
#endif /* __NM_GLIB_H__ */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue