diff options
author | James Booth <boothj5@gmail.com> | 2016-02-14 22:28:55 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2016-02-14 22:28:55 +0000 |
commit | 41fe8c22b1f8c1cf666d42052cd73d59e40a2ed2 (patch) | |
tree | 3b53c1fbc2e5dc8c6daccf7fe7bb9f27d1c9d05a /src/xmpp/iq.c | |
parent | f887a35c0cd550a3c635630da2bd83bb7400b957 (diff) | |
download | profani-tty-41fe8c22b1f8c1cf666d42052cd73d59e40a2ed2.tar.gz |
Added C plugin code from plugins branch
Diffstat (limited to 'src/xmpp/iq.c')
-rw-r--r-- | src/xmpp/iq.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/xmpp/iq.c b/src/xmpp/iq.c index 4cf3313e..cfe0f1c6 100644 --- a/src/xmpp/iq.c +++ b/src/xmpp/iq.c @@ -32,9 +32,9 @@ * */ -#include "config.h" +#include "prof_config.h" -#ifdef HAVE_GIT_VERSION +#ifdef PROF_HAVE_GIT_VERSION #include "gitversion.h" #endif @@ -43,10 +43,10 @@ #include <stdio.h> #include <glib.h> -#ifdef HAVE_LIBMESODE +#ifdef PROF_HAVE_LIBMESODE #include <mesode.h> #endif -#ifdef HAVE_LIBSTROPHE +#ifdef PROF_HAVE_LIBSTROPHE #include <strophe.h> #endif @@ -1081,9 +1081,9 @@ _version_get_handler(xmpp_conn_t *const conn, xmpp_stanza_t *const stanza, xmpp_stanza_t *version = xmpp_stanza_new(ctx); xmpp_stanza_set_name(version, "version"); xmpp_stanza_t *version_txt = xmpp_stanza_new(ctx); - GString *version_str = g_string_new(PACKAGE_VERSION); - if (strcmp(PACKAGE_STATUS, "development") == 0) { -#ifdef HAVE_GIT_VERSION + GString *version_str = g_string_new(PROF_PACKAGE_VERSION); + if (strcmp(PROF_PACKAGE_STATUS, "development") == 0) { +#ifdef PROF_HAVE_GIT_VERSION g_string_append(version_str, "dev."); g_string_append(version_str, PROF_GIT_BRANCH); g_string_append(version_str, "."); |