]> git.saurik.com Git - wxWidgets.git/blobdiff - src/expat/lib/xmltok_ns.c
Disable wxUSE_ENH_METAFILE for wxGTK builds.
[wxWidgets.git] / src / expat / lib / xmltok_ns.c
index 5610eb95ba73510e861c6c5864c625a732a18100..c3b88fdf4e3eec31af866ef7aba0588d9d7614de 100644 (file)
@@ -1,3 +1,10 @@
+/* Copyright (c) 1998, 1999 Thai Open Source Software Center Ltd
+   See the file COPYING for copying permission.
+*/
+
+/* This file is included! */
+#ifdef XML_TOK_NS_C
+
 const ENCODING *
 NS(XmlGetUtf8InternalEncoding)(void)
 {
@@ -19,7 +26,7 @@ NS(XmlGetUtf16InternalEncoding)(void)
 #endif
 }
 
-static const ENCODING *NS(encodings)[] = {
+static const ENCODING * const NS(encodings)[] = {
   &ns(latin1_encoding).enc,
   &ns(ascii_encoding).enc,
   &ns(utf8_encoding).enc,
@@ -104,3 +111,5 @@ NS(XmlParseXmlDecl)(int isGeneralTextEntity,
                         encoding,
                         standalone);
 }
+
+#endif /* XML_TOK_NS_C */