]>
Commit | Line | Data |
---|---|---|
ae81e935 CP |
1 | #ifndef __VERSION_H |
2 | ||
3 | #define __VERSION_H | |
4 | ||
70b0a4e5 | 5 | #ifndef BUILDID |
16fc8bc1 CP |
6 | #define _BUILDID "unknown" |
7 | #else | |
8 | #define _BUILDID "BUILDID" | |
70b0a4e5 CP |
9 | #endif |
10 | ||
16fc8bc1 | 11 | #define MODULE_VERSION(id) const char *_version(void) { return (id[0]=='\0')?_BUILDID:(id "/" _BUILDID); }; |
ae81e935 CP |
12 | |
13 | #endif |