aboutsummaryrefslogtreecommitdiffstats
path: root/mail/cyrus-imapd25/files/patch-lib_assert.h
blob: 7f74a47ca1fd9f4102ad40816330a091120ec674 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- lib/assert.h.orig	2021-03-09 02:28:07 UTC
+++ lib/assert.h
@@ -43,11 +43,13 @@
 #ifndef INCLUDED_ASSERT_H
 #define INCLUDED_ASSERT_H
 
+#ifndef PERL_POLLUTE
 #ifdef __STDC__
 #define assert(ex)	{if (!(ex))assertionfailed(__FILE__, __LINE__, #ex);}
 void assertionfailed(const char *file, int line, const char *expr);
 #else
 #define assert(ex)	{if (!(ex))assertionfailed(__FILE__, __LINE__, (char*)0);}
+#endif
 #endif
 
 #endif /* INCLUDED_ASSERT_H */