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

* include/ruby/onigiruma.h (ONIG_EXTERN): use RUBY_EXTERN if defined.

* regenc.h: include ruby/defines.h.

	* regint.h: x64-mswin64 support.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
usa 2007-07-03 14:14:08 +00:00
parent 0e5360b2e4
commit 49b0a4d5ed
4 changed files with 14 additions and 1 deletions

View file

@ -1,3 +1,11 @@
Tue Jul 3 23:12:29 2007 NAKAMURA Usaku <usa@ruby-lang.org>
* include/ruby/onigiruma.h (ONIG_EXTERN): use RUBY_EXTERN if defined.
* regenc.h: include ruby/defines.h.
* regint.h: x64-mswin64 support.
Tue Jul 3 13:47:44 2007 Koichi Sasada <ko1@atdot.net>
* cont.c (cont_save_machine_stack): clear saved_thread.machine_stack*.

View file

@ -74,6 +74,9 @@ extern "C" {
#endif
#ifndef ONIG_EXTERN
#ifdef RUBY_EXTERN
#define ONIG_EXTERN RUBY_EXTERN
#else
#if defined(_WIN32) && !defined(__GNUC__)
#if defined(EXPORT) || defined(RUBY_EXPORT)
#define ONIG_EXTERN extern __declspec(dllexport)
@ -82,6 +85,7 @@ extern "C" {
#endif
#endif
#endif
#endif
#ifndef ONIG_EXTERN
#define ONIG_EXTERN extern

View file

@ -30,6 +30,7 @@
*/
#ifndef REGINT_H
#include "ruby/config.h"
#include "ruby/defines.h"
#ifdef ONIG_ESCAPE_UCHAR_COLLISION
#undef ONIG_ESCAPE_UCHAR_COLLISION
#endif

View file

@ -49,7 +49,7 @@
#if defined(__i386) || defined(__i386__) || defined(_M_IX86) || \
(defined(__ppc__) && defined(__APPLE__)) || \
defined(__x86_64) || defined(__x86_64__) || \
defined(__x86_64) || defined(__x86_64__) || defined(_M_AMD86) || \
defined(__mc68020__)
#define PLATFORM_UNALIGNED_WORD_ACCESS
#endif