mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* win32/Makefile.sub (config.h): VC6 or later have stddef.h.
* include/ruby/missing.h: need to include stddef.h for size_t. * include/ruby/missing.h: shouldn't declare as dllimport when building ruby itself (for Windows). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28772 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
51b6bfb011
commit
97bc1a122b
2 changed files with 15 additions and 0 deletions
|
@ -1,3 +1,12 @@
|
|||
Wed Jul 28 19:37:33 2010 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* win32/Makefile.sub (config.h): VC6 or later have stddef.h.
|
||||
|
||||
* include/ruby/missing.h: need to include stddef.h for size_t.
|
||||
|
||||
* include/ruby/missing.h: shouldn't declare as dllimport when building
|
||||
ruby itself (for Windows).
|
||||
|
||||
Wed Jul 28 17:11:48 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* missing/*.c: include missing.h
|
||||
|
|
|
@ -19,6 +19,9 @@ extern "C" {
|
|||
#endif
|
||||
|
||||
#include "ruby/config.h"
|
||||
#if defined(HAVE_STDDEF_H)
|
||||
# include <stddef.h>
|
||||
#endif
|
||||
#ifdef RUBY_EXTCONF_H
|
||||
#include RUBY_EXTCONF_H
|
||||
#endif
|
||||
|
@ -50,6 +53,9 @@ struct timezone {
|
|||
};
|
||||
#endif
|
||||
|
||||
#ifdef RUBY_EXPORT
|
||||
#undef RUBY_EXTERN
|
||||
#endif
|
||||
#ifndef RUBY_EXTERN
|
||||
#define RUBY_EXTERN extern
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue