openbsd-ports/www/xmhtml/patches/patch-include_XmHTML_resources_h

15 lines
499 B
Plaintext
Raw Normal View History

$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 [] =
{