From 5a27b4c0c0a5befc2b7622ff8517743963c1f1d2 Mon Sep 17 00:00:00 2001 From: Elliot Saba Date: Wed, 2 Sep 2020 09:33:04 -0700 Subject: [PATCH] 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`. --- amd64/fenv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/amd64/fenv.c b/amd64/fenv.c index ddf7dba6..173d4ce3 100644 --- a/amd64/fenv.c +++ b/amd64/fenv.c @@ -29,7 +29,7 @@ #include "bsd_fpu.h" #include "math_private.h" -#ifdef _WIN32 +#ifndef OPENLIBM_USE_HOST_FENV_H #define __fenv_static OLM_DLLEXPORT #endif #include