diff options
author | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-02-24 03:38:14 +0000 |
---|---|---|
committer | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-02-24 03:38:14 +0000 |
commit | b2f3063cae5cd5997a89717d91fdec06c5041620 (patch) | |
tree | 659206e5c7382f73ca808444e4c5d03ef11f6b43 /compile.c | |
parent | ba5ed845b30c81fbf92c052b83f54198cd272bbd (diff) | |
download | ruby-b2f3063cae5cd5997a89717d91fdec06c5041620.tar.gz |
time: rearrange+pack vtm and time_object structs
struct time_object shrinks from 88 to 46 bytes on my 64-bit system.
* configure.in: use -Wno-packed-bitfield-compat for GCC 4.4+
use __attribute__((packed)) if available
* timev.h: shrink and pack struct vtm
* time.c: pack struct time_object and adjust/introduce helpers
[ruby-core:60794]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45155 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'compile.c')
0 files changed, 0 insertions, 0 deletions