Patch to compile ver 1.12 for MSVC2005
Brought to you by:
kaalus
Without this patch has MS Visual Studio 2005 problem to compile rapidxml.hpp.
file rapidxml.hpp
line 374:
//! \cond internal
- typedef void *(alloc_func)(std::size_t); // Type of user-defined function used to allocate memory
typedef void (free_func)(void *); // Type of user-defined function used to free memory
//! \endcond
//! \cond internal
+ typedef void* VOIDP;
+ typedef VOIDP (alloc_func)(std::size_t); // Type of user-defined function used to allocate memory
typedef void (free_func)(void *); // Type of user-defined function used to free memory
//! \endcond