summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxhdrs/math/scalblnl.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtests/psxhdrs/math/scalblnl.c')
-rw-r--r--testsuites/psxtests/psxhdrs/math/scalblnl.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/testsuites/psxtests/psxhdrs/math/scalblnl.c b/testsuites/psxtests/psxhdrs/math/scalblnl.c
index fb806033f4..e3fd17d698 100644
--- a/testsuites/psxtests/psxhdrs/math/scalblnl.c
+++ b/testsuites/psxtests/psxhdrs/math/scalblnl.c
@@ -35,8 +35,10 @@
#endif
#include <math.h>
+#include "has_long_double.h"
#include <float.h>
+#if defined NEWLIB_HAS_LONG_DOUBLE_MATH_FUNCTIONS
int test( void );
int test( void )
@@ -48,3 +50,4 @@ int test( void )
return (result);
}
+#endif