Applied NSTimeZone stucture packing patch.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19666 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Fred Kiefer 2004-07-01 23:24:35 +00:00
parent 8712b7b537
commit 8116e182ce
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2004-07-02 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSTimeZone.m: Define structure ttinfo as packed to get it
aligned correctly on ARM. Patch from bug report #9452.
2004-07-01 David Ayers <d.ayers@inode.at>
* Headers/Foundation/NSMethodSignature.h

View file

@ -167,7 +167,7 @@ struct ttinfo
char offset[4]; // Seconds east of UTC
unsigned char isdst; // Daylight savings time?
unsigned char abbr_idx; // Index into time zone abbreviations string
};
} __attribute__((packed));
/*
* And this is the structure used in the time zone instances.