From b3ecd2c6b5f6e10f381e6c0a5e16c6a737bece95 Mon Sep 17 00:00:00 2001 From: "waterson%netscape.com" Date: Fri, 26 Feb 1999 03:07:59 +0000 Subject: [PATCH] Modified DEFINE_RDF_VOCAB macro so that it doesn't create static constructors on Unix. git-svn-id: svn://10.0.0.236/trunk@22041 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/rdf/base/public/rdf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mozilla/rdf/base/public/rdf.h b/mozilla/rdf/base/public/rdf.h index 68bcd10da97..a0960d7ffec 100644 --- a/mozilla/rdf/base/public/rdf.h +++ b/mozilla/rdf/base/public/rdf.h @@ -45,7 +45,7 @@ #define DEFINE_RDF_VOCAB(namespace, prefix, name) \ static const char* kURI##prefix##_##name = ##namespace #name ;\ -static const char* kTag##prefix##_##name = kURI##prefix##_##name## + sizeof(##namespace) - 1 +static const char* kTag##prefix##_##name = #name /** * Core RDF vocabularies that we use to infer semantic actions