openbsd-ports/www/xmhtml/patches/patch-include_XmHTML_resources_h
pvalchev 2714393715 Import of xmhtml-1.1.7
XmHTML is a high performance Motif Widget capable of displaying
HTML 3.2 conforming text.

WWW: http://www.xs4all.nl/~ripley/XmHTML

MAINTAINER=	Nikolay Sturm <Nikolay.Sturm@desy.de>
2001-07-13 17:50:44 +00:00

15 lines
499 B
Plaintext

$OpenBSD: patch-include_XmHTML_resources_h,v 1.1.1.1 2001/07/13 17:50:45 pvalchev Exp $
--- include/XmHTML/resources.h.orig Sun Dec 13 13:48:46 1998
+++ include/XmHTML/resources.h Sat Jun 30 23:39:06 2001
@@ -102,7 +102,9 @@
#define _resources_h_
#define Offset(field) XtOffsetOf(XmHTMLRec, html.field)
-#define Stringify(VAL) #VAL
+/* Must use cpp prescan for two levels of macros */
+#define Stringify(VAL) _Stringify(VAL)
+#define _Stringify(VAL) #VAL
static XtResource resources [] =
{