]> jfr.im git - irc/quakenet/newserv.git/blame_incremental - lib/version.h
gline playground
[irc/quakenet/newserv.git] / lib / version.h
... / ...
CommitLineData
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