summaryrefslogtreecommitdiff
path: root/x11/Xaw-Xpm/patches/patch-ae
blob: 52e2d654096c6250ae8fda9fc32bb44a7d06aabb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-ae,v 1.1 2000/12/06 09:02:01 jlam Exp $

--- SmeBSB.h.orig	Sat Nov  9 22:18:01 1996
+++ SmeBSB.h
@@ -82,6 +82,17 @@
 
 extern WidgetClass smeBSBObjectClass;
 
+/*
+ * These two macros are multiply defined in Label.h, List.h, and SmeBSB.h.
+ * We undefine them before setting up their definitions in each header file. 
+ */
+#ifdef XtCtextBorder
+#undef XtCtextBorder
+#endif
+#ifdef XtCdrawTextBorder
+#undef XtCdrawTextBorder
+#endif
+
 #define XtNleftBitmap "leftBitmap"
 #define XtNleftMargin "leftMargin"
 #define XtNrightBitmap "rightBitmap"