Export fenv functions on all platforms (#213)

Win32 has been using a hack to switch the `fenv` functions from `static`
to `DLLEXPORT`, we apply that hack to all platforms that do not use a
host `fenv.h`.
This commit is contained in:
Elliot Saba 2020-09-02 09:33:04 -07:00 committed by GitHub
parent 878948d3dd
commit 5a27b4c0c0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -29,7 +29,7 @@
#include "bsd_fpu.h" #include "bsd_fpu.h"
#include "math_private.h" #include "math_private.h"
#ifdef _WIN32 #ifndef OPENLIBM_USE_HOST_FENV_H
#define __fenv_static OLM_DLLEXPORT #define __fenv_static OLM_DLLEXPORT
#endif #endif
#include <openlibm_fenv.h> #include <openlibm_fenv.h>