blob: c3bbe51e869507a607577c6cb289395b5600b6a9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
Bidi: undef conflicting constants
On Solaris ES and CS are already defined, resulting in compilation
errors. Since we won't need Solaris' ones here, simply undef them.
--- graphite2-1.2.0/src/Bidi.cpp
+++ graphite2-1.2.0/src/Bidi.cpp
@@ -30,6 +30,14 @@
using namespace graphite2;
+/* Solaris' headers define these */
+#ifdef ES
+# undef ES
+#endif
+#ifdef CS
+# undef CS
+#endif
+
enum DirCode { // Hungarian: dirc
Unk = -1,
N = 0, // other neutrals (default) - ON
|