зеркало из https://github.com/github/ruby.git
* regint.h: fix typo: _M_AMD86 -> _M_AMD64.
* siphash.c: ditto. * st.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40220 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
a0f7f29215
Коммит
29f347af11
|
@ -1,3 +1,11 @@
|
||||||
|
Thu Apr 11 06:15:51 2013 NARUSE, Yui <naruse@ruby-lang.org>
|
||||||
|
|
||||||
|
* regint.h: fix typo: _M_AMD86 -> _M_AMD64.
|
||||||
|
|
||||||
|
* siphash.c: ditto.
|
||||||
|
|
||||||
|
* st.c: ditto.
|
||||||
|
|
||||||
Thu Apr 11 06:09:57 2013 NARUSE, Yui <naruse@ruby-lang.org>
|
Thu Apr 11 06:09:57 2013 NARUSE, Yui <naruse@ruby-lang.org>
|
||||||
|
|
||||||
* ext/fiddle/extconf.rb: define RUBY_LIBFFI_MODVERSION macro.
|
* ext/fiddle/extconf.rb: define RUBY_LIBFFI_MODVERSION macro.
|
||||||
|
|
2
regint.h
2
regint.h
|
@ -49,7 +49,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(__i386) || defined(__i386__) || defined(_M_IX86) || \
|
#if defined(__i386) || defined(__i386__) || defined(_M_IX86) || \
|
||||||
defined(__x86_64) || defined(__x86_64__) || defined(_M_AMD86) || \
|
defined(__x86_64) || defined(__x86_64__) || defined(_M_AMD64) || \
|
||||||
defined(__mc68020__)
|
defined(__mc68020__)
|
||||||
#define PLATFORM_UNALIGNED_WORD_ACCESS
|
#define PLATFORM_UNALIGNED_WORD_ACCESS
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
|
|
||||||
#ifndef UNALIGNED_WORD_ACCESS
|
#ifndef UNALIGNED_WORD_ACCESS
|
||||||
# if defined(__i386) || defined(__i386__) || defined(_M_IX86) || \
|
# if defined(__i386) || defined(__i386__) || defined(_M_IX86) || \
|
||||||
defined(__x86_64) || defined(__x86_64__) || defined(_M_AMD86) || \
|
defined(__x86_64) || defined(__x86_64__) || defined(_M_AMD64) || \
|
||||||
defined(__mc68020__)
|
defined(__mc68020__)
|
||||||
# define UNALIGNED_WORD_ACCESS 1
|
# define UNALIGNED_WORD_ACCESS 1
|
||||||
# endif
|
# endif
|
||||||
|
|
2
st.c
2
st.c
|
@ -1242,7 +1242,7 @@ strhash(st_data_t arg)
|
||||||
|
|
||||||
#ifndef UNALIGNED_WORD_ACCESS
|
#ifndef UNALIGNED_WORD_ACCESS
|
||||||
# if defined(__i386) || defined(__i386__) || defined(_M_IX86) || \
|
# if defined(__i386) || defined(__i386__) || defined(_M_IX86) || \
|
||||||
defined(__x86_64) || defined(__x86_64__) || defined(_M_AMD86) || \
|
defined(__x86_64) || defined(__x86_64__) || defined(_M_AMD64) || \
|
||||||
defined(__mc68020__)
|
defined(__mc68020__)
|
||||||
# define UNALIGNED_WORD_ACCESS 1
|
# define UNALIGNED_WORD_ACCESS 1
|
||||||
# endif
|
# endif
|
||||||
|
|
Загрузка…
Ссылка в новой задаче