summaryrefslogtreecommitdiffhomepage
path: root/ir/common
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2013-05-04 17:28:03 +0200
committerMatthias Braun <matze@braunis.de>2013-05-04 17:28:03 +0200
commit330c5b9536568c4017f5fd3b61951e7c1b9e484d (patch)
tree0ef34a3c90fce180ea9bbd5669eae23098f67e24 /ir/common
parentcaf20f08d519dbe8ef04e411f8d08d638d200825 (diff)
move firm version from config.h to version.h
Diffstat (limited to 'ir/common')
-rw-r--r--ir/common/firm.c4
-rw-r--r--ir/common/version.h3
2 files changed, 4 insertions, 3 deletions
diff --git a/ir/common/firm.c b/ir/common/firm.c
index 2c8f8c1..7ac72cb 100644
--- a/ir/common/firm.c
+++ b/ir/common/firm.c
@@ -13,11 +13,9 @@
#ifdef HAVE_FIRM_REVISION_H
# include "firm_revision.h"
#endif
-
+#include "version.h"
#include <stdio.h>
-
#include "lc_opts.h"
-
#include "ident_t.h"
#include "firm.h"
#include "irflag_t.h"
diff --git a/ir/common/version.h b/ir/common/version.h
new file mode 100644
index 0000000..7fce116
--- /dev/null
+++ b/ir/common/version.h
@@ -0,0 +1,3 @@
+#define libfirm_VERSION_MAJOR 1
+#define libfirm_VERSION_MICRO 0
+#define libfirm_VERSION_MINOR 21