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

pull/193/head
Michael R Sweet 14 years ago
parent 3ab2fa249f
commit b9a4a5e22e
  1. 4
      CHANGES
  2. 2
      mxml-private.c

@ -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)

@ -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 */

Loading…
Cancel
Save