1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* include/ruby/defines.h (TRUE, FALSE): for internal use.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24193 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2009-07-18 07:03:15 +00:00
parent 4c7c46b6af
commit b3b7cd5f0e
2 changed files with 16 additions and 0 deletions

View file

@ -1,3 +1,7 @@
Sat Jul 18 16:03:01 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* include/ruby/defines.h (TRUE, FALSE): for internal use.
Sat Jul 18 11:39:49 2009 NAKAMURA Usaku <usa@ruby-lang.org>
* random.c: workaround for VC++ 6.0.

View file

@ -197,6 +197,18 @@ void xfree(void*);
#ifdef RUBY_EXPORT
#undef RUBY_EXTERN
#ifndef FALSE
# define FALSE 0
#elif FALSE
# error FALSE must be false
#endif
#ifndef TRUE
# define TRUE 1
#elif !TRUE
# error TRUE must be true
#endif
#endif
#ifndef RUBY_EXTERN