Use uname() instead of CMAKE_SYSTEM

fix #3235
This commit is contained in:
louiz’ committed 2017-02-27 18:01:20 +01:00
1 parent 9f978cda94
commit d81cbc4a33
5 files changed
+38 -2

No files matched your search

+2 -1
View File
@@ -5,6 +5,7 @@
#include <xmpp/xmpp_component.hpp>
#include <config/config.hpp>
#include <utils/system.hpp>
#include <utils/time.hpp>
#include <xmpp/auth.hpp>
#include <xmpp/jid.hpp>
@@ -585,7 +586,7 @@ void XmppComponent::send_version(const std::string& id, const std::string& jid_t
}
{
XmlSubNode os(query, "os");
os.set_inner(SYSTEM_NAME);
os.set_inner(utils::get_system_name());
}
}
else