Add G_DEBUG_FMT macro (bug 14401, bug 14403)

This commit is contained in:
rim
2018-05-26 23:27:03 +02:00
committed by Landry Breuil
parent c725dee6a9
commit 5be9587903
3 changed files with 15 additions and 18 deletions

View File

@@ -97,4 +97,12 @@ gchar * get_hostname (void);
gboolean send_signal_to_pid (guint pid, gint xtm_signal);
gboolean set_priority_to_pid (guint pid, gint priority);
#if DEBUG
# define G_DEBUG_FMT(fmt, args...) g_debug((fmt), ##args)
#else
# define G_DEBUG_FMT(fmt, args...)
#endif
#endif /* !TASK_MANAGER_H */