#define __VERSION_H
#ifndef BUILDID
-#define BUILDID "unknown"
+#define _BUILDID "unknown"
+#else
+#define XStringify(x) Stringify(x)
+#define Stringify(x) #x
+#define _BUILDID "" XStringify(BUILDID) ""
#endif
-#define MODULE_VERSION(id) const char *_version(void) { return (id[0]=='\0')?BUILDID:(id "/" BUILDID); };
+#define MODULE_VERSION(id) const char *_version(const char **version) { *version=(id[0]=='\0')?NULL:id; return _BUILDID; };
#endif