aboutsummaryrefslogtreecommitdiff
path: root/assert/assert.h
diff options
context:
space:
mode:
Diffstat (limited to 'assert/assert.h')
-rw-r--r--assert/assert.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/assert/assert.h b/assert/assert.h
index 3f0d6a3..3f0b55f 100644
--- a/assert/assert.h
+++ b/assert/assert.h
@@ -22,8 +22,12 @@
#ifdef _ASSERT_H
-#undef _ASSERT_H
-#undef assert
+# undef _ASSERT_H
+# undef assert
+
+# ifdef __USE_GNU
+# undef assert_perror
+# endif
#endif /* assert.h */