configure.in: use PACKED_STRUCT_UNALIGNED on x64-mingw
* configure.in (PACKED_STRUCT_UNALIGNED): use on x64-mingw too. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
dda5c9c0d4
commit
4b2ac79c15
@ -1278,7 +1278,7 @@ AC_CACHE_CHECK(packed struct attribute, rb_cv_packed_struct,
|
||||
if test "$rb_cv_packed_struct" = yes; then
|
||||
AC_DEFINE_UNQUOTED(PACKED_STRUCT, __attribute__((packed)))
|
||||
AS_CASE(["$target_cpu"],
|
||||
[x86*|x?86], [AC_DEFINE_UNQUOTED(PACKED_STRUCT_UNALIGNED, PACKED_STRUCT)],
|
||||
[x86*|x?86|x64], [AC_DEFINE_UNQUOTED(PACKED_STRUCT_UNALIGNED, PACKED_STRUCT)],
|
||||
[AC_DEFINE_UNQUOTED(PACKED_STRUCT_UNALIGNED,)])
|
||||
else
|
||||
AC_DEFINE_UNQUOTED(PACKED_STRUCT,)
|
||||
|
Loading…
x
Reference in New Issue
Block a user