mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 00:30:53 +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
|
@ -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…
Add table
Add a link
Reference in a new issue