summaryrefslogtreecommitdiff
path: root/www/firefox52/patches/patch-gfx_graphite2_src_Bidi.cpp
blob: fa4eec643468d43e7e8fcb2d68b4459a531fb99f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
$NetBSD: patch-gfx_graphite2_src_Bidi.cpp,v 1.1 2017/04/27 01:55:57 ryoon Exp $

* Support Solaris

--- gfx/graphite2/src/Bidi.cpp.orig	2013-05-11 19:19:30.000000000 +0000
+++ gfx/graphite2/src/Bidi.cpp
@@ -30,6 +30,11 @@ of the License or (at your option) any l
 
 using namespace graphite2;
 
+#ifdef __sun
+#undef CS
+#undef ES
+#endif
+
 enum DirCode {  // Hungarian: dirc
         Unk        = -1,
         N          =  0,   // other neutrals (default) - ON