diff --git a/src/headers/Yerbacon.hpp b/src/headers/Yerbacon.hpp index 50bfb90..3fd9079 100644 --- a/src/headers/Yerbacon.hpp +++ b/src/headers/Yerbacon.hpp @@ -1,6 +1,10 @@ #ifndef YERBACON_HPP #define YERBACON_HPP +#ifndef YBCON_VERSION +#define YBCON_VERSION "UNKNOWN" +#endif + namespace Yerbacon { consteval const char* getVersion() noexcept { return YBCON_VERSION; } } diff --git a/src/headers/misc.hpp b/src/headers/misc.hpp index 9a61602..ad270f2 100644 --- a/src/headers/misc.hpp +++ b/src/headers/misc.hpp @@ -1,10 +1,6 @@ #ifndef YERBACON_MISC_HPP #define YERBACON_MISC_HPP -#ifndef YBCON_VERSION -#define YBCON_VERSION "UNKNOWN" -#endif - string getFileContent(const string& file); void outputFileContent(const string& file, string_view content);