diff options
| author | Dana Jansens <danakj@orodu.net> | 2008-02-02 15:02:05 -0500 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2008-02-02 15:59:44 -0500 |
| commit | de0873824e3072bf6c6f8ae24569ef7bf7a0017a (patch) | |
| tree | 3d4fe34e438a42da88ad862bbfa002bef7720dce /obt/version.h.in | |
| parent | 1a1619c9a8394573638ed359706ebb1880ae46d1 (diff) | |
split the version.h into render/ and obt/ copies, with the appropriate version info
Diffstat (limited to 'obt/version.h.in')
| -rw-r--r-- | obt/version.h.in | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/obt/version.h.in b/obt/version.h.in new file mode 100644 index 00000000..8adfcf8d --- /dev/null +++ b/obt/version.h.in @@ -0,0 +1,15 @@ +#ifndef obt__version_h +#define obt__version_h + +#define OBT_MAJOR_VERSION @OBT_MAJOR_VERSION@ +#define OBT_MINOR_VERSION @OBT_MINOR_VERSION@ +#define OBT_MICRO_VERSION @OBT_MICRO_VERSION@ +#define OBT_VERSION OBT_MAJOR_VERSION.OBT_MINOR_VERSION.OBT_MICRO_VERSION + +#define OBT_CHECK_VERSION(major,minor,micro) \ + (OBT_MAJOR_VERSION > (major) || \ + (OBT_MAJOR_VERSION == (major) && OBT_MINOR_VERSION > (minor)) || \ + (OBT_MAJOR_VERSION == (major) && OBT_MINOR_VERSION == (minor) && \ + OBT_MICRO_VERSION >= (micro))) + +#endif |
