summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-04-10 21:16:44 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-04-10 21:16:44 +0000
commit29f347af110eb98127fc7c005136ff355e063474 (patch)
tree828aa69b072140347e40700235e91dde42d5ad45
parenta0f7f2921518443a60c807d272f0345aed61dc21 (diff)
* 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
-rw-r--r--ChangeLog8
-rw-r--r--regint.h2
-rw-r--r--siphash.c2
-rw-r--r--st.c2
4 files changed, 11 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 6272417262..a273177a73 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
* ext/fiddle/extconf.rb: define RUBY_LIBFFI_MODVERSION macro.
diff --git a/regint.h b/regint.h
index 00d947a5b7..9192a67fde 100644
--- a/regint.h
+++ b/regint.h
@@ -49,7 +49,7 @@
#endif
#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__)
#define PLATFORM_UNALIGNED_WORD_ACCESS
#endif
diff --git a/siphash.c b/siphash.c
index c100b14ee7..2018ade431 100644
--- a/siphash.c
+++ b/siphash.c
@@ -29,7 +29,7 @@
#ifndef UNALIGNED_WORD_ACCESS
# 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__)
# define UNALIGNED_WORD_ACCESS 1
# endif
diff --git a/st.c b/st.c
index c5550bc673..eaed209886 100644
--- a/st.c
+++ b/st.c
@@ -1242,7 +1242,7 @@ strhash(st_data_t arg)
#ifndef UNALIGNED_WORD_ACCESS
# 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__)
# define UNALIGNED_WORD_ACCESS 1
# endif