summaryrefslogtreecommitdiff
path: root/textproc/icu/patches/patch-common_ubidiimp.h
blob: 0b28c6058e6b64d8053a09e391c217020bfd10bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
$NetBSD: patch-common_ubidiimp.h,v 1.2 2020/11/05 08:58:41 ryoon Exp $

Avoid sys/regset.h pollution on SunOS.

--- common/ubidiimp.h.orig	2020-10-28 21:21:12.000000000 +0000
+++ common/ubidiimp.h
@@ -24,6 +24,11 @@
 #include "unicode/uchar.h"
 #include "ubidi_props.h"
 
+#ifdef __sun
+#undef CS
+#undef ES
+#endif
+
 /* miscellaneous definitions ---------------------------------------------- */
 
 // ICU-20853=ICU-20935 Solaris #defines CS and ES in sys/regset.h