Files
znc/include/znc/version.h
J-P Nurmi 015a8f6502 Merge branch '1.6.x'
Conflicts:
	src/Client.cpp
	znc-buildmod.in
2015-07-31 23:56:04 +02:00

20 lines
535 B
C

#ifndef ZNC_VERSION_H
#define ZNC_VERSION_H
// The following defines are for #if comparison (preprocessor only likes ints)
#define VERSION_MAJOR 1
#define VERSION_MINOR 7
#define VERSION_PATCH -1
// This one is for display purpose
#define VERSION_STR "1.7.x"
// This one is for ZNCModInfo
#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 // !ZNC_VERSION_H