Building a static version of the library did not work on Windows (STR #112)

This commit is contained in:
Michael R Sweet 2010-11-07 22:55:11 +00:00
parent 3ab2fa249f
commit b9a4a5e22e
2 changed files with 4 additions and 2 deletions

View File

@ -1,10 +1,12 @@
CHANGES - 2010-09-19
CHANGES - 2010-11-07
--------------------
CHANGES IN Mini-XML 2.7
- Updated the source headers to reference the Mini-XML license and its
exceptions to the LGPL2 (STR #108)
- Building a static version of the library did not work on Windows
(STR #112)
- The shared library did not include a destructor for the thread-
specific data key on UNIX-based operating systems (STR #103)
- mxmlLoad* did not error out on XML with multiple root nodes (STR #101)

View File

@ -229,7 +229,7 @@ _mxml_init(void)
}
#elif defined(WIN32) /**** WIN32 threading ****/
#elif defined(WIN32) && defined(MXML1_EXPORTS) /**** WIN32 threading ****/
# include <windows.h>
static DWORD _mxml_tls_index; /* Index for global storage */