summaryrefslogtreecommitdiff
path: root/test/malloc/tst-malloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/malloc/tst-malloc.c')
-rw-r--r--test/malloc/tst-malloc.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/test/malloc/tst-malloc.c b/test/malloc/tst-malloc.c
index 2d3bcce..976fbd3 100644
--- a/test/malloc/tst-malloc.c
+++ b/test/malloc/tst-malloc.c
@@ -57,11 +57,7 @@ main (void)
merror ("realloc (p, 0) failed.");
p = malloc (0);
-#if !defined(__UCLIBC__) || defined(__MALLOC_GLIBC_COMPAT__)
if (p == NULL)
-#else
- if (p != NULL)
-#endif
merror ("malloc (0) failed.");
p = realloc (p, 0);