Fix -DVERSION_EXTRA="foo"

It was broken since 58a34fa5ad (since ZNC 1.2)
This commit is contained in:
Alexey Sokolov
2015-07-21 22:43:18 +01:00
parent 34d9183ff1
commit baa798ce9f
3 changed files with 5 additions and 2 deletions
+3
View File
@@ -11,6 +11,9 @@
#define VERSION (VERSION_MAJOR + VERSION_MINOR / 10.0)
// You can add -DVERSION_EXTRA="stuff" to your CXXFLAGS!
#ifndef VERSION_EXTRA
# define VERSION_EXTRA ""
#endif
extern const char* ZNC_VERSION_EXTRA;
#endif