1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00

Use proper OS names for OpenBSD and NetBSD

This commit is contained in:
Michael Vetter 2020-03-09 11:24:14 +01:00
parent c9fcd01865
commit 8112b8c84b

View File

@ -1619,9 +1619,9 @@ _version_get_handler(xmpp_stanza_t *const stanza)
#elif defined(__FreeBSD__) #elif defined(__FreeBSD__)
xmpp_stanza_set_text(os_txt, "FreeBSD"); xmpp_stanza_set_text(os_txt, "FreeBSD");
#elif defined(__NetBSD__) #elif defined(__NetBSD__)
xmpp_stanza_set_text(os_txt, "__NetBSD__"); xmpp_stanza_set_text(os_txt, "NetBSD");
#elif defined(__OpenBSD__) #elif defined(__OpenBSD__)
xmpp_stanza_set_text(os_txt, "__OpenBSD__"); xmpp_stanza_set_text(os_txt, "OpenBSD");
#else #else
xmpp_stanza_set_text(os_txt, "Unknown"); xmpp_stanza_set_text(os_txt, "Unknown");
#endif #endif