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