summaryrefslogtreecommitdiff
path: root/indra/llxml
diff options
context:
space:
mode:
Diffstat (limited to 'indra/llxml')
-rw-r--r--indra/llxml/llxmlnode.h4
-rw-r--r--indra/llxml/llxmlparser.h4
2 files changed, 6 insertions, 2 deletions
diff --git a/indra/llxml/llxmlnode.h b/indra/llxml/llxmlnode.h
index e2019a8e60..d4b4a4655b 100644
--- a/indra/llxml/llxmlnode.h
+++ b/indra/llxml/llxmlnode.h
@@ -32,7 +32,9 @@
#ifndef LL_LLXMLNODE_H
#define LL_LLXMLNODE_H
-#define XML_STATIC
+#ifndef XML_STATIC
+#define XML_STATIC 1
+#endif
#ifdef LL_STANDALONE
#include <expat.h>
#else
diff --git a/indra/llxml/llxmlparser.h b/indra/llxml/llxmlparser.h
index d86af69bef..747cf3d0ca 100644
--- a/indra/llxml/llxmlparser.h
+++ b/indra/llxml/llxmlparser.h
@@ -32,7 +32,9 @@
#ifndef LL_LLXMLPARSER_H
#define LL_LLXMLPARSER_H
-#define XML_STATIC
+#ifndef XML_STATIC
+#define XML_STATIC 1
+#endif
#ifdef LL_STANDALONE
#include <expat.h>
#else