diff --git a/src/common/Version.hpp b/src/common/Version.hpp index db3ce978f..ab7764e1a 100644 --- a/src/common/Version.hpp +++ b/src/common/Version.hpp @@ -38,42 +38,8 @@ # define CHATTERINO_OS "unknown" #endif -#define CHATTERINO_DECLARE_BUILD_CONSTANTS() \ - namespace chatterino::detail::version { \ - QString gitHash() \ - { \ - return QStringLiteral(CHATTERINO_GIT_HASH); \ - } \ - QString gitRelease() \ - { \ - return QStringLiteral(CHATTERINO_GIT_RELEASE); \ - } \ - QString gitCommit() \ - { \ - return QStringLiteral(CHATTERINO_GIT_COMMIT); \ - } \ - bool gitModified() \ - { \ - return CHATTERINO_GIT_MODIFIED == 1; \ - } \ - QString cmakeGenDate() \ - { \ - return QStringLiteral(CHATTERINO_CMAKE_GEN_DATE); \ - } \ - } // namespace chatterino::detail::version - namespace chatterino { -namespace detail::version { - - extern QString gitHash(); - extern QString gitRelease(); - extern QString gitCommit(); - extern bool gitModified(); - extern QString cmakeGenDate(); - -} // namespace detail::version - class Version { public: