Line 0
Link Here
|
|
|
1 |
--- src/c-client/c-client.h.orig 2011-07-23 00:20:18 UTC |
2 |
+++ src/c-client/c-client.h |
3 |
@@ -39,7 +39,23 @@ extern "C" { |
4 |
#endif |
5 |
|
6 |
#include "mail.h" /* primary interfaces */ |
7 |
+ |
8 |
+#ifdef __cplusplus /* undo hacks before including OS headers */ |
9 |
+#undef private |
10 |
+#undef and |
11 |
+#undef or |
12 |
+#undef not |
13 |
+#endif |
14 |
+ |
15 |
#include "osdep.h" /* OS-dependent routines */ |
16 |
+ |
17 |
+#ifdef __cplusplus /* redo hacks after including OS headers */ |
18 |
+#define private cclientPrivate |
19 |
+#define and cclientAnd |
20 |
+#define or cclientOr |
21 |
+#define not cclientNot |
22 |
+#endif |
23 |
+ |
24 |
#include "rfc822.h" /* RFC822 and MIME routines */ |
25 |
#include "smtp.h" /* SMTP sending routines */ |
26 |
#include "nntp.h" /* NNTP sending routines */ |