summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxhdrs/math/sinhl.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtests/psxhdrs/math/sinhl.c')
-rw-r--r--testsuites/psxtests/psxhdrs/math/sinhl.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/testsuites/psxtests/psxhdrs/math/sinhl.c b/testsuites/psxtests/psxhdrs/math/sinhl.c
index 645a789283..a55104c8e1 100644
--- a/testsuites/psxtests/psxhdrs/math/sinhl.c
+++ b/testsuites/psxtests/psxhdrs/math/sinhl.c
@@ -35,7 +35,9 @@
#endif
#include <math.h>
+#include "has_long_double.h"
+#if defined NEWLIB_HAS_LONG_DOUBLE_MATH_FUNCTIONS
int test( void );
int test( void )
@@ -47,3 +49,4 @@ int test( void )
return (result) ;
}
+#endif