mirror of
https://github.com/gnustep/libs-base.git
synced 2025-06-03 01:50:55 +00:00
Apply BSD FPU fix on only x86
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@24404 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
dcb2830fc1
commit
10bb9dcc50
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2007-01-23 Adam Fedor <fedor@gnu.org>
|
||||||
|
|
||||||
|
* Source/NSObject.m ([NSObject +initialize]): Apply BSD FPU fix
|
||||||
|
only on x86 machines.
|
||||||
|
|
||||||
2007-01-23 Richard Frith-Macdonald <rfm@gnu.org>
|
2007-01-23 Richard Frith-Macdonald <rfm@gnu.org>
|
||||||
|
|
||||||
* Source/win32/NSMessagePortNameServerWin32.m:
|
* Source/win32/NSMessagePortNameServerWin32.m:
|
||||||
|
|
|
@ -941,9 +941,10 @@ GSDescriptionForClassMethod(pcl self, SEL aSel)
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __FreeBSD__
|
#if defined(__FreeBSD__) && defined(__i386__)
|
||||||
// Manipulate the FPU to add the exception mask. (Fixes SIGFPE
|
// Manipulate the FPU to add the exception mask. (Fixes SIGFPE
|
||||||
// problems on *BSD)
|
// problems on *BSD)
|
||||||
|
// Note this only works on x86
|
||||||
|
|
||||||
{
|
{
|
||||||
volatile short cw;
|
volatile short cw;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue