diff options
| author | Tomoyuki Sahara <[email protected]> | 2014-02-12 10:26:19 +0900 |
|---|---|---|
| committer | Tomoyuki Sahara <[email protected]> | 2014-02-12 10:26:19 +0900 |
| commit | 50ef284015604ae426e23a5bea47b077d9eae4da (patch) | |
| tree | d3b232c16f3c0b3cac37713206ee0839365548b1 /include | |
| parent | 26781692b79425195c9c0864b6cb729e320cbf49 (diff) | |
| download | mruby-50ef284015604ae426e23a5bea47b077d9eae4da.tar.gz mruby-50ef284015604ae426e23a5bea47b077d9eae4da.zip | |
include mruby/version.h in mruby.h
Diffstat (limited to 'include')
| -rw-r--r-- | include/mruby.h | 1 | ||||
| -rw-r--r-- | include/mruby/version.h | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/include/mruby.h b/include/mruby.h index 10f97a491..30c2dbbb1 100644 --- a/include/mruby.h +++ b/include/mruby.h @@ -37,6 +37,7 @@ extern "C" { #include "mrbconf.h" #include "mruby/value.h" +#include "mruby/version.h" typedef uint32_t mrb_code; typedef uint32_t mrb_aspec; diff --git a/include/mruby/version.h b/include/mruby/version.h index 94b5d26b9..eaf95336e 100644 --- a/include/mruby/version.h +++ b/include/mruby/version.h @@ -1,3 +1,6 @@ +#ifndef MRUBY_VERSION_H +#define MRUBY_VERSION_H + #define MRUBY_RUBY_VERSION "1.9" #define MRUBY_RUBY_ENGINE "mruby" @@ -26,3 +29,5 @@ STRINGIZE(MRUBY_BIRTH_YEAR)"-" \ STRINGIZE(MRUBY_RELEASE_YEAR)" " \ MRUBY_AUTHOR + +#endif /* MRUBY_VERSION_H */ |
