diff options
author | Chris Robinson <[email protected]> | 2013-05-22 23:05:26 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2013-05-22 23:05:26 -0700 |
commit | be4a4d74686fffb0a7e38cb4b1cad9653d2ba00f (patch) | |
tree | cb05d3420407642a8d5862d2a50c70dc2efbda09 /OpenAL32/Include | |
parent | eb15b13ca16e4ecf254c2143f18b4d03d76179ab (diff) |
Use fegetenv/fesetenv to backup and restore the FPU state
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r-- | OpenAL32/Include/alMain.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h index 743242d7..ca0df2ad 100644 --- a/OpenAL32/Include/alMain.h +++ b/OpenAL32/Include/alMain.h @@ -748,7 +748,11 @@ void *al_calloc(size_t alignment, size_t size); void al_free(void *ptr); typedef struct { +#ifdef HAVE_FENV_H + DERIVE_FROM_TYPE(fenv_t); +#else int state; +#endif #ifdef HAVE_SSE int sse_state; #endif |