mirror of
https://github.com/znc/znc.git
synced 2026-04-30 18:42:25 +02:00
The patch level version number is ignored in module and config version compatibility checks. Radically simplified, bug fix releases shall not touch the headers nor change the config file.
17 lines
455 B
C
17 lines
455 B
C
#ifndef _VERSION_H
|
|
#define _VERSION_H
|
|
|
|
// The following defines are for #if comparison (preprocessor only likes ints)
|
|
#define VERSION_MAJOR 1
|
|
#define VERSION_MINOR 5
|
|
#define VERSION_PATCH 0
|
|
// This one is for display purpose
|
|
#define VERSION_STR "1.5.0"
|
|
// This one is for ZNCModInfo
|
|
#define VERSION (VERSION_MAJOR + VERSION_MINOR / 10.0)
|
|
|
|
// You can add -DVERSION_EXTRA="stuff" to your CXXFLAGS!
|
|
extern const char* ZNC_VERSION_EXTRA;
|
|
|
|
#endif
|