Commit a90ff175 authored by Michael R Sweet's avatar Michael R Sweet

Update va_copy macro for BCC (Issue #211)

parent e19d38b5
......@@ -4,6 +4,7 @@
to get full strings for inline text instead of separated words (Issue #190)
- No longer build documentation sets on macOS since Xcode no longer supports
them (Issue #198)
- Updated the `va_copy` macro for use with BCC (Issue #211)
- The `mxmlNewCDATA` and `mxmlSetCDATA` functions incorrectly added the XML
trailer "]]" to the string (Issue #216)
- Cross-compiling failed on install (Issue #218)
......
/*
* String functions for Mini-XML, a small XML file parsing library.
*
* Copyright 2003-2017 by Michael R Sweet.
* Copyright 2003-2018 by Michael R Sweet.
*
* These coded instructions, statements, and computer programs are the
* property of Michael R Sweet and are protected by Federal copyright
......@@ -28,7 +28,7 @@
# ifdef __va_copy
# define va_copy(dst,src) __va_copy(dst,src)
# else
# define va_copy(dst,src) memcpy(&dst, src, sizeof(va_list))
# define va_copy(dst,src) memcpy(&dst, &src, sizeof(va_list))
# endif /* __va_copy */
#endif /* va_copy */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment