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