]> jfr.im git - irc/quakenet/newserv.git/blob - lib/version.h
CHANSERV: better batcher error handling for expired accounts/accounts with no email.
[irc/quakenet/newserv.git] / lib / version.h
1 #ifndef __VERSION_H
2
3 #define __VERSION_H
4
5 #ifndef BUILDID
6 #define _BUILDID "unknown"
7 #else
8 #define XStringify(x) Stringify(x)
9 #define Stringify(x) #x
10 #define _BUILDID "" XStringify(BUILDID) ""
11 #endif
12
13 #define MODULE_VERSION(id) const char *_version(const char **version) { *version=(id[0]=='\0')?NULL:id; return _BUILDID; }
14
15 #endif