summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxhdrs/math/copysignl.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtests/psxhdrs/math/copysignl.c')
-rw-r--r--testsuites/psxtests/psxhdrs/math/copysignl.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/testsuites/psxtests/psxhdrs/math/copysignl.c b/testsuites/psxtests/psxhdrs/math/copysignl.c
index 448d14e710..db5e57e6f6 100644
--- a/testsuites/psxtests/psxhdrs/math/copysignl.c
+++ b/testsuites/psxtests/psxhdrs/math/copysignl.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 )
@@ -48,3 +50,4 @@ int test( void )
return (result) ;
}
+#endif