patchlevel.h.in

ldmud-3.4.1/src/patchlevel.h.in · 1.0 KB

From the archive ldmud-3.4.1.tar.gz

Download the archive   « Back to the archive contents

#ifndef PATCHLEVEL_H__
#define PATCHLEVEL_H__ 1

/*--------------------------------------------------------------------------
 * Various version numbers and strings, collected here so that we have
 * to modify only one file.
 *--------------------------------------------------------------------------
 */

#define IS_STABLE_BRANCH ($VersionMinor$ % 2 == 0)

#define IS_DEV_BRANCH    (!IS_STABLE_BRANCH)

#define IS_DEVELOPMENT (!strcmp("$VersionType$", "dev"))

#define IS_MAINTENANCE (!strcmp("$VersionType$", "maint"))

#define RELEASE_TYPE "$VersionType$"

#define RELEASE_DATE "$VersionDate$"

#define PROJ_VERSION "Build $VersionRevision$"

#define DRIVER_VERSION "$VersionMajor$.$VersionMinor$.$VersionMicro$"

#define VERSION_MAJOR "$VersionMajor$"

#define VERSION_MINOR "$VersionMinor$"

#define VERSION_MICRO "$VersionMicro$"

#define LOCAL_LEVEL ""

/* TODO: Add something like the perl local patchlevel management. */
/* TODO: Add LPC defines for the various version number parts */

#endif /* PATCHLEVEL_H__ */

Site Stats

Snippets: 1791
Codebases: 571