mirror of
https://github.com/byteworksinc/ORCA-C.git
synced 2024-12-30 14:31:04 +00:00
Adjust the way FE_DFL_ENV is defined.
This avoids any possible issue with code possibly expecting __FE_DFL_ENV to be in the data bank when using the large memory model, although I don't think that happened in practice.
This commit is contained in:
parent
c3567c81a4
commit
753c9b9f20
@ -27,8 +27,8 @@ typedef unsigned short fexcept_t;
|
||||
#define FE_TOWARDZERO 0xC0
|
||||
#define FE_UPWARD 0x40
|
||||
|
||||
extern const fenv_t __FE_DFL_ENV;
|
||||
#define FE_DFL_ENV (&__FE_DFL_ENV)
|
||||
extern const fenv_t __FE_DFL_ENV[1];
|
||||
#define FE_DFL_ENV (&*__FE_DFL_ENV)
|
||||
|
||||
int feclearexcept(int);
|
||||
int fegetexceptflag(fexcept_t *, int);
|
||||
|
Loading…
Reference in New Issue
Block a user