mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +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
ea8dd57fec
commit
a112e29296
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>
|
||||
|
||||
* Source/win32/NSMessagePortNameServerWin32.m:
|
||||
|
|
|
@ -941,9 +941,10 @@ GSDescriptionForClassMethod(pcl self, SEL aSel)
|
|||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef __FreeBSD__
|
||||
#if defined(__FreeBSD__) && defined(__i386__)
|
||||
// Manipulate the FPU to add the exception mask. (Fixes SIGFPE
|
||||
// problems on *BSD)
|
||||
// Note this only works on x86
|
||||
|
||||
{
|
||||
volatile short cw;
|
||||
|
|
Loading…
Reference in a new issue