From 23e58027c230fed148f7acc07a890b5a54e6e8e8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andreas=20Sch=C3=B6sser?= Date: Tue, 14 Aug 2007 10:09:18 +0000 Subject: [PATCH] Added libfirm version macros again. They are only set if they weren't set in the environment/configure script [r15532] --- include/libfirm/firm.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/include/libfirm/firm.h b/include/libfirm/firm.h index 1ae2fd7f7..9c1b829f6 100644 --- a/include/libfirm/firm.h +++ b/include/libfirm/firm.h @@ -187,6 +187,20 @@ struct _firm_parameter_t { typedef struct _firm_parameter_t firm_parameter_t; +/* Set a version number if it has not been set in environment */ +#ifndef libfirm_VERSION_MAJOR +#define libfirm_VERSION_MAJOR 1 +#endif + +#ifndef libfirm_VERSION_MINOR +#define libfirm_VERSION_MINOR 4 +#endif + +#ifndef libfirm_VERSION_MICRO +#define libfirm_VERSION_MICRO 0 +#endif + + /** * The Firm version number. */ -- 2.20.1