| Server IP : 82.208.35.60 / Your IP : 216.73.216.89 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/mail/cyrus-imapd30/files/ |
Upload File : |
--- lib/assert.h.orig 2017-09-02 01:09:05 UTC
+++ lib/assert.h
@@ -43,6 +43,10 @@
#ifndef INCLUDED_ASSERT_H
#define INCLUDED_ASSERT_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#ifdef __STDC__
#define assert(ex) {if (!(ex))assertionfailed(__FILE__, __LINE__, #ex);}
void assertionfailed(const char *file, int line, const char *expr);
@@ -50,4 +54,8 @@ void assertionfailed(const char *file, i
#define assert(ex) {if (!(ex))assertionfailed(__FILE__, __LINE__, (char*)0);}
#endif
+#ifdef __cplusplus
+}
+#endif
+
#endif /* INCLUDED_ASSERT_H */