summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxhdrs/math/atan2l.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtests/psxhdrs/math/atan2l.c')
-rw-r--r--testsuites/psxtests/psxhdrs/math/atan2l.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/testsuites/psxtests/psxhdrs/math/atan2l.c b/testsuites/psxtests/psxhdrs/math/atan2l.c
index 3ce992afa8..01c13a944e 100644
--- a/testsuites/psxtests/psxhdrs/math/atan2l.c
+++ b/testsuites/psxtests/psxhdrs/math/atan2l.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) ; /* This should return 0 */
}
+#endif