about summary refs log tree commit diff
path: root/pkgs/development/libraries/aspell/clang.patch
blob: c4cfa426588ccd5a17bbda6d927b80dea8337cbe (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- interfaces/cc/aspell.h	2013-10-13 20:29:33.000000000 +0200
+++ interfaces/cc/aspell.h	2013-10-13 20:30:01.000000000 +0200
@@ -237,6 +237,7 @@
 /******************************** errors ********************************/
 
 
+#ifndef __cplusplus
 extern const struct AspellErrorInfo * const aerror_other;
 extern const struct AspellErrorInfo * const aerror_operation_not_supported;
 extern const struct AspellErrorInfo * const   aerror_cant_copy;
@@ -322,6 +323,7 @@
 extern const struct AspellErrorInfo * const   aerror_bad_magic;
 extern const struct AspellErrorInfo * const aerror_expression;
 extern const struct AspellErrorInfo * const   aerror_invalid_expression;
+#endif
 
 
 /******************************* speller *******************************/