Project

General

Profile

« Previous | Next » 

Revision 131e4bec

Added by normal about 10 years ago

time: only use packed struct on x86*

  • configure.in: define PACKED_STRUCT_UNALIGNED for x86*
  • timev.h (struct vtm): use PACKED_STRUCT_UNALIGNED
  • time.c (struct time_object): ditto
    [Bug #9558] non-x86 cannot safely access unaligned addresses

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45165 b2dd03c8-39d4-4d8f-98ff-823fe69b080e