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:
fedor 2007-01-23 16:04:29 +00:00
parent dcb2830fc1
commit 10bb9dcc50
2 changed files with 7 additions and 1 deletions

View file

@ -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;