mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* include/ruby/st.h (size_t): needs stddef.h or stdlib.h.
[ruby-core:20339] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
8249d674fd
commit
36eed7bdfb
2 changed files with 18 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
Thu Dec 11 11:11:03 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* include/ruby/st.h (size_t): needs stddef.h or stdlib.h.
|
||||
[ruby-core:20339]
|
||||
|
||||
Thu Dec 11 10:25:25 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||
|
||||
* test/ruby/test_bignum.rb (TestBignum#test_convert): remove
|
||||
|
|
|
@ -12,6 +12,19 @@ extern "C" {
|
|||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef RUBY_LIB
|
||||
#include "ruby/config.h"
|
||||
#ifdef RUBY_EXTCONF_H
|
||||
#include RUBY_EXTCONF_H
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if defined STDC_HEADERS
|
||||
#include <stddef.h>
|
||||
#elif defined HAVE_STDLIB_H
|
||||
#include <stdlib.h>
|
||||
#endif
|
||||
|
||||
#if SIZEOF_LONG == SIZEOF_VOIDP
|
||||
typedef unsigned long st_data_t;
|
||||
#elif SIZEOF_LONG_LONG == SIZEOF_VOIDP
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue