|  | @@ -26,8 +26,9 @@
 | 
	
		
			
				|  |  |   * $FreeBSD: src/lib/msun/i387/fenv.c,v 1.8 2011/10/21 06:25:31 das Exp $
 | 
	
		
			
				|  |  |   */
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -#include <include/cdefs-compat.h>
 | 
	
		
			
				|  |  | -#include <include/types-compat.h>
 | 
	
		
			
				|  |  | +#include <cdefs-compat.h>
 | 
	
		
			
				|  |  | +#include <types-compat.h>
 | 
	
		
			
				|  |  | +#include <math_private.h>
 | 
	
		
			
				|  |  |  #if defined(__WIN32__) || defined(__linux__)
 | 
	
		
			
				|  |  |  #include <i387/bsd_npx.h>
 | 
	
		
			
				|  |  |  #else
 | 
	
	
		
			
				|  | @@ -93,10 +94,10 @@ __test_sse(void)
 | 
	
		
			
				|  |  |  	return (0);
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -extern inline int feclearexcept(int __excepts);
 | 
	
		
			
				|  |  | -extern inline int fegetexceptflag(fexcept_t *__flagp, int __excepts);
 | 
	
		
			
				|  |  | +extern inline DLLEXPORT int feclearexcept(int __excepts);
 | 
	
		
			
				|  |  | +extern inline DLLEXPORT int fegetexceptflag(fexcept_t *__flagp, int __excepts);
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -int
 | 
	
		
			
				|  |  | +DLLEXPORT int
 | 
	
		
			
				|  |  |  fesetexceptflag(const fexcept_t *flagp, int excepts)
 | 
	
		
			
				|  |  |  {
 | 
	
		
			
				|  |  |  	fenv_t env;
 | 
	
	
		
			
				|  | @@ -117,7 +118,7 @@ fesetexceptflag(const fexcept_t *flagp, int excepts)
 | 
	
		
			
				|  |  |  	return (0);
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -int
 | 
	
		
			
				|  |  | +DLLEXPORT int
 | 
	
		
			
				|  |  |  feraiseexcept(int excepts)
 | 
	
		
			
				|  |  |  {
 | 
	
		
			
				|  |  |  	fexcept_t ex = excepts;
 | 
	
	
		
			
				|  | @@ -127,9 +128,9 @@ feraiseexcept(int excepts)
 | 
	
		
			
				|  |  |  	return (0);
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -extern inline int fetestexcept(int __excepts);
 | 
	
		
			
				|  |  | -extern inline int fegetround(void);
 | 
	
		
			
				|  |  | -extern inline int fesetround(int __round);
 | 
	
		
			
				|  |  | +extern inline DLLEXPORT int fetestexcept(int __excepts);
 | 
	
		
			
				|  |  | +extern inline DLLEXPORT int fegetround(void);
 | 
	
		
			
				|  |  | +extern inline DLLEXPORT int fesetround(int __round);
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  int
 | 
	
		
			
				|  |  |  fegetenv(fenv_t *envp)
 | 
	
	
		
			
				|  | @@ -166,9 +167,9 @@ feholdexcept(fenv_t *envp)
 | 
	
		
			
				|  |  |  	return (0);
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -extern inline int fesetenv(const fenv_t *__envp);
 | 
	
		
			
				|  |  | +extern inline DLLEXPORT int fesetenv(const fenv_t *__envp);
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -int
 | 
	
		
			
				|  |  | +DLLEXPORT int
 | 
	
		
			
				|  |  |  feupdateenv(const fenv_t *envp)
 | 
	
		
			
				|  |  |  {
 | 
	
		
			
				|  |  |  	uint32_t mxcsr;
 |