Move the YBCON_VERSION redefinition to Yerbacon.hpp.
This commit is contained in:
parent
3359dc7649
commit
07ca24c610
|
@ -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; }
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue