summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxhdrs/math/ilogbl.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtests/psxhdrs/math/ilogbl.c')
-rw-r--r--testsuites/psxtests/psxhdrs/math/ilogbl.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/testsuites/psxtests/psxhdrs/math/ilogbl.c b/testsuites/psxtests/psxhdrs/math/ilogbl.c
index 8daa32df84..9c8486c79d 100644
--- a/testsuites/psxtests/psxhdrs/math/ilogbl.c
+++ b/testsuites/psxtests/psxhdrs/math/ilogbl.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