diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-22 06:14:50 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-22 06:14:50 +0000 |
commit | aefc34a041240889948f5af09c1526077c4fc0ca (patch) | |
tree | 8e14d160816e959172bcbb3db6e9660b009394df /include/ruby | |
parent | 482690cdf88158e62efb9ea3f5bea5f1a7bf7346 (diff) | |
download | ruby-aefc34a041240889948f5af09c1526077c4fc0ca.tar.gz |
* common.mk (encs, ext/ripper/ripper.c): needs MFLAGS.
* configure.in (STRINGIZE): stringizing macro.
* include/ruby/defines.h (STRINGIZE): fallback.
* tool/make-snapshot: new file.
* version.c (ruby_description, ruby_copyright): string constants for
-v option.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14469 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include/ruby')
-rw-r--r-- | include/ruby/defines.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/ruby/defines.h b/include/ruby/defines.h index 2fb42219fa..bd9dd0c334 100644 --- a/include/ruby/defines.h +++ b/include/ruby/defines.h @@ -64,6 +64,11 @@ void *xrealloc(void*,size_t); void *xrealloc2(void*,size_t,size_t); void xfree(void*); +#define STRINGIZE(expr) STRINGIZE0(expr) +#ifndef STRINGIZE0 +#define STRINGIZE0(expr) #expr +#endif + #if SIZEOF_LONG_LONG > 0 # define LONG_LONG long long #elif SIZEOF___INT64 > 0 |