1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-23 19:36:37 +02:00

scripts: use #ifdef to check if versions are defined in signal "debug_libs"

This commit is contained in:
Sebastien Helleu
2013-11-18 14:32:13 +01:00
parent fba9839587
commit 717eaae496
6 changed files with 27 additions and 1 deletions
+4
View File
@@ -1140,7 +1140,11 @@ weechat_python_signal_debug_libs_cb (void *data, const char *signal,
(void) type_data;
(void) signal_data;
#ifdef PY_VERSION
weechat_printf (NULL, " %s: %s", PYTHON_PLUGIN_NAME, PY_VERSION);
#else
weechat_printf (NULL, " %s: (?)", PYTHON_PLUGIN_NAME);
#endif
return WEECHAT_RC_OK;
}